/* Eagle Eye Solutions — additions for the 2026-11 SEO pass: landing pages, FAQ, status,
   footer columns, mobile CTA bar, accessibility. Loaded after style.css. */

/* Accessibility */
.ee-skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: var(--color-primary-900); padding: 12px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.ee-skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--color-accent-400); outline-offset: 2px; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
img { max-width: 100%; height: auto; }

/* Footer: brand + four link columns */
.footer-grid { grid-template-columns: 2fr repeat(4, 1fr); gap: var(--spacing-2xl); }
.ee-footer-mark img { border-radius: 10px; display: block; }
.ee-footer-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-xl); } }

/* Landing pages */
.ee-landing-hero { padding-bottom: var(--spacing-3xl); }
.ee-landing-hero-content { max-width: 820px; }
.ee-landing-hero .hero-subtitle { font-size: 1.1875rem; line-height: 1.65; max-width: 720px; }
.ee-landing-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--spacing-xl); }
.ee-btn-ghost { border-color: rgba(255,255,255,.4) !important; color: #fff !important; background: transparent !important; }
.ee-btn-ghost:hover { background: rgba(255,255,255,.1) !important; }
.ee-crumbs { font-size: .875rem; color: rgba(255,255,255,.8); margin-bottom: var(--spacing-md); }
.ee-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ee-crumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }

.ee-prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--spacing-3xl); align-items: start; }
.ee-prose { max-width: 760px; color: var(--color-slate-700); font-size: 1.0625rem; line-height: 1.75; }
.ee-prose h2 { font-size: 1.625rem; line-height: 1.25; color: var(--color-slate-900); margin: 0 0 var(--spacing-md); }
.ee-prose p { margin: 0 0 var(--spacing-md); }
.ee-block { margin-bottom: var(--spacing-2xl); }
.ee-checks { list-style: none; padding: 0; margin: var(--spacing-md) 0 0; display: grid; gap: 10px; }
.ee-checks li { position: relative; padding-left: 32px; }
.ee-checks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231d4ed8'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 14px no-repeat; }

.ee-related { position: sticky; top: calc(var(--header-height) + 24px); background: var(--color-slate-50); border: 1px solid var(--color-slate-200); border-radius: var(--radius-2xl); padding: var(--spacing-lg); }
.ee-related-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-slate-500); margin: 0 0 var(--spacing-md); }
.ee-related ul { list-style: none; padding: 0; margin: 0; }
.ee-related li + li { border-top: 1px solid var(--color-slate-200); }
.ee-related a { display: block; padding: 12px 0; color: var(--color-primary-700); font-weight: 600; text-decoration: none; }
.ee-related a:hover { color: var(--color-primary-900); }
@media (max-width: 1024px) { .ee-prose-wrap { grid-template-columns: 1fr; } .ee-related { position: static; } }

/* Glossary */
.ee-glossary { margin: 0 0 var(--spacing-2xl); display: grid; gap: var(--spacing-md); }
.ee-term { border: 1px solid var(--color-slate-200); border-radius: var(--radius-xl); padding: var(--spacing-lg); background: #fff; }
.ee-term dt { font-weight: 700; color: var(--color-slate-900); margin-bottom: 6px; font-size: 1.0625rem; }
.ee-term dd { margin: 0; }
.ee-term:target { border-color: var(--color-primary-500); box-shadow: 0 0 0 3px var(--color-primary-100); }

/* FAQ (details/summary, no JS) */
.ee-faq { max-width: 800px; margin: 0 auto; }
.ee-faq-heading { margin-bottom: var(--spacing-lg); }
.ee-faq-item { border: 1px solid var(--color-slate-200); border-radius: var(--radius-xl); background: #fff; margin-bottom: 12px; overflow: hidden; }
.ee-faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--color-slate-900); position: relative; font-size: 1.0625rem; line-height: 1.4; }
.ee-faq-item summary::-webkit-details-marker { display: none; }
.ee-faq-item summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--color-slate-500); border-bottom: 2px solid var(--color-slate-500); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.ee-faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ee-faq-answer { padding: 0 20px 18px; color: var(--color-slate-600); line-height: 1.7; }
.ee-faq-answer p { margin: 0; }

/* Home: who-it's-for links */
.ee-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); margin-top: var(--spacing-2xl); }
.ee-audience-card { display: block; background: #fff; border: 1px solid var(--color-slate-200); border-radius: var(--radius-2xl); padding: var(--spacing-xl); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.ee-audience-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--color-primary-300); }
.ee-audience-card h3 { font-size: 1.1875rem; margin: 0 0 8px; color: var(--color-slate-900); }
.ee-audience-card p { margin: 0 0 12px; color: var(--color-slate-600); font-size: .9688rem; line-height: 1.6; }
.ee-audience-card span { color: var(--color-primary-700); font-weight: 600; font-size: .9375rem; }
@media (max-width: 1024px) { .ee-audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ee-audience-grid { grid-template-columns: 1fr; } }

/* Status page */
.ee-status-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-radius: var(--radius-2xl); padding: 20px 24px; color: #fff; margin-bottom: var(--spacing-xl); }
.ee-status-banner.is-ok { background: linear-gradient(135deg, #059669, #047857); }
.ee-status-banner.is-down { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.ee-status-banner strong { font-size: 1.25rem; }
.ee-status-list { list-style: none; padding: 0; margin: 0 0 var(--spacing-xl); display: grid; gap: 12px; }
.ee-status-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--color-slate-200); border-left: 4px solid #059669; border-radius: var(--radius-xl); padding: 16px 20px; }
.ee-status-list li.is-down { border-left-color: #dc2626; }
.ee-status-list h2 { font-size: 1.0625rem; margin: 0 0 4px; }
.ee-status-list p { margin: 0; color: var(--color-slate-500); font-size: .875rem; }
.ee-status-state { text-align: right; white-space: nowrap; }
.ee-status-state small { display: block; color: var(--color-slate-500); margin-top: 4px; }
.ee-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #dcfce7; color: #166534; }
.is-down .ee-pill { background: #fee2e2; color: #991b1b; }
.ee-status-note { color: var(--color-slate-600); font-size: .9375rem; line-height: 1.7; }
.ee-status-note a { color: var(--color-primary-700); text-decoration: underline; }

/* Mobile: sticky demo bar, comfortable tap targets, wide tables scroll inside their box */
.ee-mobile-cta { display: none; }
@media (max-width: 768px) {
    .ee-mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--color-slate-200); box-shadow: 0 -6px 20px rgba(15,23,42,.08); }
    .ee-mobile-cta .btn { flex: 1; justify-content: center; min-height: 46px; }
    .ee-mobile-cta .btn-primary { flex: 2; }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .footer-links a, .mobile-nav a { display: inline-block; padding: 6px 0; min-height: 32px; }
    .comparison-table-wrapper, .page-content table, .ee-prose table { overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
    .ee-landing-hero .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
    .ee-prose { font-size: 1rem; }
    .ee-prose h2 { font-size: 1.375rem; }
    .ee-status-list li { flex-direction: column; align-items: flex-start; }
    .ee-status-state { text-align: left; }
}
/* Chat bubble sits above the mobile bar */
@media (max-width: 768px) { .woot-widget-bubble, .woot--bubble-holder { bottom: 84px !important; } }

/* Large desktops: keep long text lines readable */
@media (min-width: 1600px) { .hero-subtitle { max-width: 760px; } }
