/* ============================================================
   Editorial Legal Craft — design system
   Shared across all eSudca.sk pages.
   Scoped via .eled wrapper to coexist with legacy Tailwind.
   ============================================================ */
:root {
    --font-display: "Fraunces", "Source Serif Pro", ui-serif, Georgia, serif;
    --font-ui: "Geist", "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --ink-1: #F4EFE8;
    --ink-2: #C8C0AE;
    --ink-3: #948B7B;
    --ink-4: #6E6757;

    --surface-1: rgba(20, 18, 30, 0.62);
    --surface-2: rgba(28, 24, 40, 0.78);
    --surface-elev: rgba(38, 32, 54, 0.88);

    --border-soft: rgba(255, 255, 255, 0.07);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-strong: rgba(255, 255, 255, 0.18);

    --gold: #D4AA66;
    --gold-bright: #E8C078;
    --gold-rgb: 212, 170, 102;

    --cyan: #5DB3C2;
    --emerald: #6EAD7E;
    --amber: #D49654;

    --elev-1: 0 8px 32px rgba(0, 0, 0, 0.22);
    --elev-2: 0 24px 80px rgba(0, 0, 0, 0.42);
    --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.eled, .eled p, .eled span, .eled a, .eled button, .eled input, .eled textarea, .eled li, .eled div {
    font-family: var(--font-ui);
}
.eled-display { font-family: var(--font-display); }
.eled-mono { font-family: var(--font-mono); }

/* ============================================
   Hero section
   ============================================ */
.eled-hero {
    position: relative;
    padding: 56px 16px 56px;
    isolation: isolate;
}
@media (min-width: 768px) {
    .eled-hero { padding: 88px 24px 88px; }
}
.eled-hero::before {
    content: "";
    position: absolute;
    top: -12%; right: -10%;
    width: 65%; height: 75%;
    background: radial-gradient(closest-side, rgba(212, 170, 102, 0.10), transparent 70%);
    z-index: -1;
    pointer-events: none;
}
.eled-hero::after {
    content: "";
    position: absolute;
    bottom: -20%; left: -10%;
    width: 60%; height: 55%;
    background: radial-gradient(closest-side, rgba(124, 58, 237, 0.07), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.eled-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.eled-eyebrow::before, .eled-eyebrow::after {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
}
.eled-eyebrow.no-rules::before, .eled-eyebrow.no-rules::after { display: none; }

.eled-h1 {
    font-family: var(--font-display);
    font-weight: 540;
    font-size: clamp(38px, 5.4vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink-1);
    font-variation-settings: "opsz" 96, "SOFT" 50;
    margin: 0;
}
.eled-h1 em {
    font-style: italic;
    font-variation-settings: "opsz" 96, "SOFT" 100;
    background: linear-gradient(135deg, #F2D08A 0%, #D4AA66 55%, #B98A3C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 2px;
}

.eled-sub {
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.55;
    color: var(--ink-2);
    font-weight: 400;
    margin: 0;
}

/* ============================================
   Ask box (hero artifact)
   ============================================ */
.eled-ask {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border-medium);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--elev-2), var(--inner-highlight);
    transition: border-color 220ms ease, box-shadow 220ms ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.eled-ask::before {
    content: "";
    position: absolute;
    top: 0; left: 16%; right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 170, 102, 0.5) 50%, transparent 100%);
    pointer-events: none;
}
.eled-ask:focus-within {
    border-color: rgba(212, 170, 102, 0.55);
    box-shadow:
        0 0 0 6px rgba(212, 170, 102, 0.10),
        var(--elev-2),
        var(--inner-highlight);
}
.eled-ask textarea {
    font-family: var(--font-ui);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-1);
    background: transparent;
    border: 0;
    width: 100%;
    resize: none;
    outline: none;
    padding: 4px 4px 0;
    min-height: 88px;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.10) transparent;
}
.eled-ask textarea::placeholder { color: var(--ink-3); font-style: italic; }
.eled-ask textarea::-webkit-scrollbar { width: 6px; }
.eled-ask textarea::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 999px; }

.eled-ask-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}
.eled-ask-meta {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--ink-4);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.eled-ask-meta .free { color: var(--gold); font-weight: 500; }
.eled-ask-meta .sep { width: 3px; height: 3px; border-radius: 999px; background: currentColor; opacity: 0.45; }
.eled-ask-meta .muted { color: var(--ink-3); }

/* ============================================
   Primary CTA
   ============================================ */
.eled-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #D4AA66 0%, #E8C078 100%);
    color: #1A130B;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    box-shadow:
        0 12px 32px rgba(212, 170, 102, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}
.eled-cta:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 42px rgba(212, 170, 102, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.eled-cta:not(:disabled):active { transform: translateY(0); }
.eled-cta:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.eled-cta-cancel {
    background: linear-gradient(135deg, #C5614F 0%, #E07761 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(197, 97, 79, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.eled-cta svg { width: 15px; height: 15px; }

.eled-cta-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #D4AA66 0%, #E8C078 100%);
    color: #1A130B;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.005em;
    box-shadow:
        0 8px 20px rgba(212, 170, 102, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}
.eled-cta-mini:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 28px rgba(212, 170, 102, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.eled-cta-mini svg { width: 13px; height: 13px; }

/* Trust line */
.eled-trustline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-3);
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 18px;
}
.eled-trustline .sep { width: 3px; height: 3px; border-radius: 999px; background: currentColor; opacity: 0.5; }

/* Secondary inline link */
.eled-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--ink-2);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-soft);
    transition: all 180ms ease;
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 500;
}
.eled-secondary:hover {
    border-color: rgba(212, 170, 102, 0.40);
    color: var(--ink-1);
    background: rgba(212, 170, 102, 0.05);
}
.eled-secondary svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.eled-secondary:hover svg { transform: translateY(2px); }

/* Hero chips */
.eled-chiprow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.eled-chip {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 32px;
    padding: 7px 14px;
    border-radius: 16px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    border: 1px solid rgba(212, 170, 102, 0.22);
    background: rgba(212, 170, 102, 0.07);
    color: var(--gold-bright);
    text-decoration: none;
    text-align: left;
    transition: all 180ms ease;
}
.eled-chip:hover { border-color: rgba(212, 170, 102, 0.35); background: rgba(212, 170, 102, 0.10); }
.eled-chip svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 2.5px;
}
.eled-chip.cyan {
    border-color: rgba(93, 179, 194, 0.25);
    background: rgba(93, 179, 194, 0.07);
    color: #8FCBD6;
}
.eled-chip.cyan:hover { border-color: rgba(93, 179, 194, 0.40); }
.eled-chip.emerald {
    border-color: rgba(110, 173, 126, 0.25);
    background: rgba(110, 173, 126, 0.07);
    color: #92C9A2;
}
.eled-chip.emerald:hover { border-color: rgba(110, 173, 126, 0.40); }

/* Premium upload */
.eled-upload {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-3);
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 160ms ease;
}
.eled-upload:hover { color: var(--ink-2); }

/* ============================================
   Letter / answer card (proof section + share + pillar topics)
   ============================================ */
.eled-proof-section {
    padding: 48px 16px 64px;
}
@media (min-width: 768px) {
    .eled-proof-section { padding: 80px 24px 80px; }
}

.eled-proof-h2 {
    font-family: var(--font-display);
    font-weight: 520;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.022em;
    color: var(--ink-1);
    margin: 0;
    font-variation-settings: "opsz" 80, "SOFT" 50;
}
.eled-proof-h2 em {
    font-style: italic;
    font-variation-settings: "opsz" 80, "SOFT" 100;
    color: var(--gold-bright);
}

.eled-letter {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border-medium);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--elev-2), var(--inner-highlight);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.eled-letter::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 170, 102, 0.7) 30%, rgba(212, 170, 102, 0.7) 70%, transparent 100%);
    opacity: 0.65;
}
.eled-letter-mark {
    position: absolute;
    top: 22px;
    right: 32px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 80px;
    font-weight: 400;
    color: rgba(212, 170, 102, 0.13);
    line-height: 1;
    user-select: none;
    letter-spacing: -0.04em;
    pointer-events: none;
}
.eled-letter-eyebrow {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 8px;
}
.eled-letter-question {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 460;
    font-variation-settings: "opsz" 96, "SOFT" 60;
    font-size: 19.5px;
    line-height: 1.45;
    color: var(--ink-1);
    letter-spacing: -0.01em;
    margin: 0 0 24px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-soft);
    max-width: 88%;
}

.eled-letter-section { margin-top: 26px; }
.eled-letter-section:first-of-type { margin-top: 0; }

.eled-letter-h {
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: "opsz" 36, "SOFT" 60;
    font-weight: 540;
    font-size: 17px;
    color: var(--ink-1);
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}
.eled-letter-body {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ink-2);
    margin: 0;
}
.eled-letter-body strong { color: var(--ink-1); font-weight: 600; }

.eled-letter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
}
.eled-letter-list li {
    position: relative;
    padding-left: 22px;
    margin-top: 11px;
}
.eled-letter-list li:first-child { margin-top: 0; }
.eled-letter-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 170, 102, 0.15);
}
.eled-letter-list strong { color: var(--ink-1); font-weight: 600; }

/* Source rail */
.eled-sources {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.eled-source-h {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
}
.eled-source-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.eled-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.015em;
    border: 1px solid rgba(212, 170, 102, 0.22);
    background: rgba(212, 170, 102, 0.06);
    color: var(--gold-bright);
    text-decoration: none;
    transition: all 180ms ease;
}
.eled-source-pill:hover { border-color: rgba(212, 170, 102, 0.40); background: rgba(212, 170, 102, 0.10); }
.eled-source-pill.cyan {
    border-color: rgba(93, 179, 194, 0.30);
    background: rgba(93, 179, 194, 0.08);
    color: #9ECFD8;
}
.eled-source-pill.cyan:hover { border-color: rgba(93, 179, 194, 0.45); }
.eled-source-pill.amber {
    border-color: rgba(212, 150, 84, 0.30);
    background: rgba(212, 150, 84, 0.06);
    color: #E8B580;
}
.eled-source-pill svg { width: 12px; height: 12px; }

/* Letter actions */
.eled-letter-actions {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.eled-letter-actions .primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #D4AA66 0%, #E8C078 100%);
    color: #1A130B;
    font-weight: 620;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(212, 170, 102, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
}
.eled-letter-actions .primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(212, 170, 102, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.eled-letter-actions .primary svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.eled-letter-actions .primary:hover svg { transform: translateX(2px); }

.eled-letter-actions .ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 160ms ease;
    padding: 12px 4px;
    font-weight: 500;
}
.eled-letter-actions .ghost:hover { color: var(--ink-1); }
.eled-letter-actions .ghost svg {
    width: 14px; height: 14px;
    transition: transform 180ms ease;
}
.eled-letter-actions .ghost:hover svg { transform: translateX(2px); }

/* Mid-CTA banner (share page) */
.eled-mid-cta {
    margin: 28px 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(212, 170, 102, 0.08), rgba(212, 170, 102, 0.04));
    border: 1px solid rgba(212, 170, 102, 0.22);
    border-radius: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.eled-mid-cta::before {
    content: "";
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 170, 102, 0.5), transparent);
}
.eled-mid-cta-text {
    flex: 1;
    min-width: 240px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-1);
    font-family: var(--font-ui);
}
.eled-mid-cta-text .accent {
    font-style: italic;
    font-family: var(--font-display);
    color: var(--gold-bright);
    font-weight: 500;
}
.eled-mid-cta .eled-mid-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #D4AA66 0%, #E8C078 100%);
    color: #1A130B;
    font-weight: 620;
    font-size: 13.5px;
    text-decoration: none;
    border-bottom: 0;
    box-shadow: 0 8px 22px rgba(212, 170, 102, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
}
.eled-mid-cta .eled-mid-cta-btn:hover {
    color: #1A130B;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(212, 170, 102, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-bottom: 0;
}
.eled-mid-cta .eled-mid-cta-btn svg { width: 13px; height: 13px; transition: transform 180ms ease; }
.eled-mid-cta .eled-mid-cta-btn:hover svg { transform: translateX(2px); }

/* Stack utilities */
.eled-stack-1 { margin-top: 16px; }
.eled-stack-2 { margin-top: 24px; }
.eled-stack-3 { margin-top: 32px; }
.eled-stack-4 { margin-top: 48px; }
.eled-stack-5 { margin-top: 64px; }

/* ============================================
   Page sections (header / footer / breadcrumb / generic content)
   ============================================ */
.eled-page-header {
    padding: 24px 16px 16px;
    position: relative;
    z-index: 5;
}
@media (min-width: 768px) {
    .eled-page-header { padding: 32px 24px 16px; }
}

.eled-page-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.eled-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.eled-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F3FA8 0%, #6B4FE6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(75, 56, 168, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}
.eled-brand-mark svg { width: 22px; height: 22px; color: #fff; }
.eled-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.eled-brand-name {
    font-family: var(--font-display);
    font-weight: 580;
    font-variation-settings: "opsz" 36, "SOFT" 50;
    font-size: 19px;
    color: var(--ink-1);
    letter-spacing: -0.01em;
}
.eled-brand-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-top: 2px;
}

.eled-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: var(--font-ui);
}
.eled-nav a {
    position: relative;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 160ms ease;
    letter-spacing: 0.01em;
    padding: 4px 0;
}
.eled-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}
.eled-nav a:hover { color: var(--ink-1); }
.eled-nav a:hover::after { transform: scaleX(1); }
.eled-nav a.active { color: var(--gold-bright); }
.eled-nav a.active::after { transform: scaleX(1); background: var(--gold-bright); }

@media (max-width: 767px) {
    .eled-nav { gap: 18px; }
    .eled-nav a { font-size: 13px; }
}

/* Breadcrumb */
.eled-breadcrumb {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.eled-breadcrumb a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 160ms ease;
}
.eled-breadcrumb a:hover { color: var(--gold-bright); }
.eled-breadcrumb .sep {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.4;
}
.eled-breadcrumb .current { color: var(--ink-2); }

/* Footer */
.eled-footer {
    padding: 56px 16px 32px;
    border-top: 1px solid var(--border-soft);
    background: rgba(10, 8, 18, 0.35);
}
@media (min-width: 768px) {
    .eled-footer { padding: 72px 24px 36px; }
}
.eled-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}
.eled-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .eled-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 48px;
    }
}
.eled-footer-section-h {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-4);
    font-weight: 500;
    margin: 0 0 16px 0;
}
.eled-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.eled-footer-list a {
    font-size: 14px;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 160ms ease;
    font-family: var(--font-ui);
}
.eled-footer-list a:hover { color: var(--gold-bright); }
.eled-footer-tag {
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-3);
    margin: 0;
    max-width: 320px;
}
.eled-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-4);
}

/* ============================================
   Editorial markdown / prose
   ============================================ */
.eled-prose {
    font-family: var(--font-ui);
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.7;
}
.eled-prose h1 {
    font-family: var(--font-display);
    font-weight: 540;
    font-variation-settings: "opsz" 80, "SOFT" 50;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink-1);
    margin: 2em 0 0.6em;
}
.eled-prose h2 {
    font-family: var(--font-display);
    font-weight: 540;
    font-variation-settings: "opsz" 60, "SOFT" 50;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.018em;
    color: var(--ink-1);
    margin: 1.8em 0 0.5em;
}
.eled-prose h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: "opsz" 36, "SOFT" 60;
    font-weight: 540;
    font-size: 21px;
    line-height: 1.3;
    color: var(--ink-1);
    margin: 1.6em 0 0.4em;
    letter-spacing: -0.01em;
}
.eled-prose p { margin: 0 0 1em; }
.eled-prose strong { color: var(--ink-1); font-weight: 600; }
.eled-prose em { font-style: italic; color: var(--ink-1); }
.eled-prose a {
    color: var(--gold-bright);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 170, 102, 0.35);
    transition: border-color 160ms ease, color 160ms ease;
}
.eled-prose a:hover {
    color: #F4D08C;
    border-bottom-color: var(--gold-bright);
}
.eled-prose ul, .eled-prose ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}
.eled-prose ul { list-style: none; padding-left: 0; }
.eled-prose ul li {
    position: relative;
    padding-left: 22px;
    margin: 0.5em 0;
}
.eled-prose ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 13px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 170, 102, 0.15);
}
.eled-prose ol { list-style: decimal; }
.eled-prose ol li { padding-left: 6px; margin: 0.5em 0; }
.eled-prose ol li::marker {
    color: var(--gold);
    font-family: var(--font-mono);
    font-weight: 500;
}
.eled-prose blockquote {
    border-left: 3px solid var(--gold);
    padding: 6px 0 6px 20px;
    margin: 1.4em 0;
    color: var(--ink-2);
    font-style: italic;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24, "SOFT" 60;
    font-size: 17px;
    line-height: 1.55;
}
.eled-prose code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: rgba(212, 170, 102, 0.08);
    border: 1px solid rgba(212, 170, 102, 0.20);
    padding: 0.12em 0.45em;
    border-radius: 5px;
    color: var(--gold-bright);
    letter-spacing: 0.01em;
}
.eled-prose pre {
    background: rgba(10, 8, 18, 0.5);
    border: 1px solid var(--border-soft);
    padding: 16px 18px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.2em 0;
    font-family: var(--font-mono);
    font-size: 13.5px;
}
.eled-prose pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--ink-2);
}
.eled-prose hr {
    border: 0;
    border-top: 1px solid var(--border-soft);
    margin: 2.4em 0;
}
.eled-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14.5px;
}
.eled-prose thead { background: rgba(212, 170, 102, 0.06); }
.eled-prose th {
    text-align: left;
    padding: 12px 14px;
    color: var(--ink-1);
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid rgba(212, 170, 102, 0.22);
}
.eled-prose td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--ink-2);
}
.eled-prose tr:last-child td { border-bottom: 0; }

/* ============================================
   Card grids (pillars, examples, blog)
   ============================================ */
.eled-cardgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 768px) {
    .eled-cardgrid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (min-width: 1024px) {
    .eled-cardgrid.three { grid-template-columns: 1fr 1fr 1fr; }
}

.eled-card {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border-medium);
    border-radius: 20px;
    padding: 26px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    box-shadow: var(--elev-1), var(--inner-highlight);
    overflow: hidden;
    isolation: isolate;
}
.eled-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 170, 102, 0) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 220ms ease, background 220ms ease;
    pointer-events: none;
}
.eled-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 170, 102, 0.30);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), var(--inner-highlight);
}
.eled-card:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 170, 102, 0.55) 50%, transparent 100%);
}

.eled-card-eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.eled-card-eyebrow .cat {
    color: var(--gold);
    font-weight: 500;
}
.eled-card-eyebrow .num {
    color: var(--ink-4);
    font-weight: 400;
}
.eled-card-title {
    font-family: var(--font-display);
    font-weight: 540;
    font-variation-settings: "opsz" 36, "SOFT" 50;
    font-size: 18px;
    line-height: 1.3;
    color: var(--ink-1);
    margin: 0;
    letter-spacing: -0.01em;
    transition: color 220ms ease;
}
.eled-card:hover .eled-card-title {
    color: var(--gold-bright);
}
.eled-card-body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-3);
    margin: 0;
    flex: 1;
}
.eled-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.eled-card-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: 1px solid rgba(212, 170, 102, 0.22);
    background: rgba(212, 170, 102, 0.05);
    color: var(--gold-bright);
}
.eled-card-badge.cyan {
    border-color: rgba(93, 179, 194, 0.25);
    background: rgba(93, 179, 194, 0.05);
    color: #8FCBD6;
}
.eled-card-badge.amber {
    border-color: rgba(212, 150, 84, 0.25);
    background: rgba(212, 150, 84, 0.05);
    color: #E8B580;
}
.eled-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-bright);
    margin-top: auto;
    padding-top: 4px;
    transition: gap 220ms ease;
}
.eled-card:hover .eled-card-cta { gap: 12px; }
.eled-card-cta svg { width: 14px; height: 14px; }

/* ============================================
   Disclaimers / notices
   ============================================ */
.eled-notice {
    display: flex;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(212, 150, 84, 0.05);
    border: 1px solid rgba(212, 150, 84, 0.20);
    border-left: 3px solid var(--amber);
    color: var(--ink-2);
}
.eled-notice-icon {
    flex-shrink: 0;
    color: var(--amber);
    width: 18px;
    height: 18px;
    margin-top: 2px;
}
.eled-notice-h {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 500;
    margin: 0 0 6px 0;
}
.eled-notice-body {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}
.eled-notice-body strong { color: var(--ink-1); font-weight: 600; }

/* ============================================
   Mobile reduction
   ============================================ */
@media (max-width: 767px) {
    .eled-eyebrow::before, .eled-eyebrow::after { width: 16px; }
    .eled-h1 { font-size: clamp(34px, 9vw, 46px); line-height: 1.04; letter-spacing: -0.02em; }
    .eled-sub { font-size: 15.5px; }
    .eled-ask { padding: 18px; border-radius: 22px; }
    .eled-ask textarea { font-size: 16px; min-height: 76px; }
    .eled-ask-foot { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 14px; margin-top: 14px; }
    .eled-cta { width: 100%; justify-content: center; height: 48px; }
    .eled-letter { padding: 22px; border-radius: 24px; }
    .eled-letter-mark { font-size: 56px; right: 20px; top: 18px; }
    .eled-letter-question { font-size: 17px; max-width: 85%; }
    .eled-letter-actions { flex-direction: column; align-items: stretch; }
    .eled-letter-actions .primary { justify-content: center; }
    .eled-letter-actions .ghost { justify-content: center; }
    .eled-stack-4 { margin-top: 36px; }
    .eled-card { padding: 20px; }
    .eled-mid-cta { padding: 16px 18px; }
    .eled-mid-cta-btn { width: 100%; justify-content: center; }
    .eled-prose h1 { font-size: 28px; }
    .eled-prose h2 { font-size: 22px; }
    .eled-prose h3 { font-size: 18px; }
}

/* Subtle grain texture for hero/proof — optional warmth */
.eled-hero, .eled-proof-section {
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.015), transparent 50%),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.01), transparent 50%);
}
