/* ==========================================================================
   EDCC SEO pages — shared stylesheet
   Mirrors the public site's "modern-classic" light theme:
   Playfair Display headings + Roboto body, light surfaces, dark CTAs.
   Reusable across all static HTML SEO landing pages.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;600;700&display=swap");

:root{
  --edcc-bg:           #fafaf7;
  --edcc-surface:      #ffffff;
  --edcc-surface-2:    #f3f1ec;
  --edcc-border:       #e5e2da;
  --edcc-foreground:   #1a1a1a;
  --edcc-muted:        #6b6b6b;
  --edcc-primary:      #1a1a1a;          /* dark CTA, matches site */
  --edcc-primary-fg:   #ffffff;
  --edcc-accent:       #b8884a;          /* brand gold/bronze tagline */
  --edcc-accent-soft:  #f0ebe1;
  --edcc-radius:       0.5rem;
  --edcc-max:          1280px;
  --edcc-font-serif:   'Playfair Display', ui-serif, Georgia, 'Times New Roman', serif;
  --edcc-font-sans:    'Roboto', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--edcc-bg);color:var(--edcc-foreground);font-family:var(--edcc-font-sans);line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

h1,h2,h3,h4,h5,h6{font-family:var(--edcc-font-serif);color:var(--edcc-foreground);font-weight:700;letter-spacing:-0.01em}

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

/* ===== Navbar (mirrors Navbar.tsx) ===== */
.edcc-header{position:sticky;top:0;z-index:50;background:var(--edcc-bg);border-bottom:2px solid var(--edcc-foreground)}
.edcc-header-inner{display:flex;height:4.5rem;align-items:center;justify-content:space-between}
.edcc-brand{display:flex;flex-direction:column;line-height:1;gap:2px}
.edcc-brand-name{font-family:var(--edcc-font-serif);font-weight:800;font-size:1.875rem;letter-spacing:0.01em;color:var(--edcc-foreground)}
.edcc-brand-tag{font-size:0.625rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--edcc-accent)}

.edcc-nav{display:none;align-items:center;gap:0.25rem}
.edcc-nav-item{position:relative}
.edcc-nav-link,.edcc-nav-trigger{display:inline-flex;align-items:center;gap:0.25rem;padding:0.5rem 0.875rem;font-size:0.9375rem;font-weight:500;background:transparent;border:0;cursor:pointer;color:var(--edcc-foreground);font-family:inherit;border-radius:var(--edcc-radius);transition:background-color .15s,color .15s}
.edcc-nav-link:hover,.edcc-nav-trigger:hover{background:var(--edcc-accent-soft)}
.edcc-nav-link.is-active{background:var(--edcc-foreground);color:var(--edcc-primary-fg)}
.edcc-chev{display:inline-block;font-size:0.7rem;opacity:0.65}

.edcc-menu{position:absolute;top:calc(100% + 4px);left:0;min-width:15rem;background:var(--edcc-surface);border:1px solid var(--edcc-border);border-radius:var(--edcc-radius);box-shadow:0 12px 28px -8px rgba(0,0,0,0.15);padding:0.375rem;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s,transform .15s,visibility .15s;z-index:60}
.edcc-nav-item:hover > .edcc-menu,.edcc-nav-item:focus-within > .edcc-menu{opacity:1;visibility:visible;transform:translateY(0)}
.edcc-menu a{display:flex;align-items:center;gap:0.5rem;padding:0.625rem 0.75rem;font-size:0.9375rem;border-radius:calc(var(--edcc-radius) - 2px);color:var(--edcc-foreground)}
.edcc-menu a:hover{background:var(--edcc-accent-soft)}
.edcc-menu .edcc-sep{height:1px;background:var(--edcc-border);margin:0.375rem 0}
.edcc-menu .edcc-sub{position:relative}
.edcc-menu .edcc-sub > a::after{content:"›";margin-left:auto;color:var(--edcc-muted);font-size:1.1rem;line-height:1}
.edcc-menu .edcc-sub > .edcc-menu{top:-0.375rem;left:100%;margin-left:4px}

.edcc-nav-actions{display:none;align-items:center;gap:0.5rem}
.edcc-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.55rem 1rem;font-size:0.9375rem;font-weight:500;border-radius:var(--edcc-radius);border:1px solid var(--edcc-border);background:var(--edcc-surface);color:var(--edcc-foreground);cursor:pointer;font-family:inherit;transition:background-color .15s,border-color .15s,transform .15s}
.edcc-btn:hover{background:var(--edcc-accent-soft)}
.edcc-btn-primary{background:var(--edcc-primary);color:var(--edcc-primary-fg);border-color:var(--edcc-primary)}
.edcc-btn-primary:hover{background:#000;border-color:#000}

.edcc-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:1px solid var(--edcc-border);border-radius:var(--edcc-radius);background:var(--edcc-surface);cursor:pointer;font-size:1.25rem}

@media(min-width:1024px){
  .edcc-nav{display:flex}
  .edcc-nav-actions{display:flex}
  .edcc-mobile-toggle{display:none}
}

/* ===== Hero ===== */
.edcc-hero{padding:5rem 0 4rem;border-bottom:1px solid var(--edcc-border);background:linear-gradient(180deg,var(--edcc-bg) 0%,var(--edcc-surface-2) 100%)}
.edcc-hero h1{font-size:clamp(2.25rem,5vw,3.75rem);line-height:1.05;margin:0 0 1.25rem;font-weight:700}
.edcc-hero .edcc-lede{font-family:var(--edcc-font-sans);color:var(--edcc-muted);font-size:1.125rem;max-width:48rem;margin:0 0 2rem;line-height:1.6}
.edcc-cta-row{display:flex;flex-wrap:wrap;gap:0.75rem}
.edcc-cta{display:inline-flex;align-items:center;padding:0.85rem 1.6rem;border-radius:var(--edcc-radius);font-weight:600;font-size:0.95rem;font-family:var(--edcc-font-sans);border:1px solid transparent;transition:background-color .15s,transform .15s,border-color .15s;cursor:pointer}
.edcc-cta-primary{background:var(--edcc-primary);color:var(--edcc-primary-fg)}
.edcc-cta-primary:hover{background:#000;transform:translateY(-1px)}
.edcc-cta-secondary{background:var(--edcc-surface);color:var(--edcc-foreground);border-color:var(--edcc-border)}
.edcc-cta-secondary:hover{background:var(--edcc-accent-soft);border-color:var(--edcc-foreground)}

/* ===== Main content ===== */
main.edcc-main{padding:3.5rem 0 5rem}
main.edcc-main h2{font-size:clamp(1.6rem,2.6vw,2.125rem);margin:3rem 0 1rem;font-weight:700;line-height:1.2}
main.edcc-main h2:first-child{margin-top:0}
main.edcc-main h3{font-family:var(--edcc-font-serif);font-size:1.25rem;margin:1.75rem 0 0.5rem;font-weight:600}
main.edcc-main p,main.edcc-main li{color:#3a3a3a;font-size:1.0625rem;line-height:1.7}
main.edcc-main p{margin:0 0 1rem}
main.edcc-main ul{padding-left:1.375rem;margin:0 0 1.25rem}
main.edcc-main li{margin:0.375rem 0}
main.edcc-main a{color:var(--edcc-foreground);font-weight:500;border-bottom:1px solid var(--edcc-border);transition:border-color .15s}
main.edcc-main a:hover{border-bottom-color:var(--edcc-foreground)}
main.edcc-main strong{color:var(--edcc-foreground)}

/* Tables */
.edcc-table{width:100%;border-collapse:collapse;margin:1.5rem 0 2rem;font-size:0.9375rem;background:var(--edcc-surface);border:1px solid var(--edcc-border);border-radius:var(--edcc-radius);overflow:hidden}
.edcc-table th,.edcc-table td{padding:0.85rem 1rem;text-align:left;border-bottom:1px solid var(--edcc-border);vertical-align:top}
.edcc-table thead th{background:var(--edcc-surface-2);font-family:var(--edcc-font-sans);font-weight:600;font-size:0.8125rem;text-transform:uppercase;letter-spacing:0.06em;color:var(--edcc-muted)}
.edcc-table tbody tr:last-child td{border-bottom:0}
.edcc-table tbody tr:hover{background:#fbfaf6}

/* FAQ */
.edcc-faq{margin-top:1.5rem}
.edcc-faq h3{margin-top:1.75rem}

/* Related */
.edcc-related{margin:4rem 0 0;padding:1.75rem;background:var(--edcc-surface);border:1px solid var(--edcc-border);border-radius:var(--edcc-radius)}
.edcc-related h2{margin:0 0 0.75rem;font-size:1.375rem}
.edcc-related ul{list-style:none;padding:0;margin:0.5rem 0 0;display:grid;gap:0.625rem;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))}
.edcc-related li{margin:0}
.edcc-related a{display:block;padding:0.625rem 0.75rem;border:1px solid var(--edcc-border);border-radius:calc(var(--edcc-radius) - 2px);background:var(--edcc-bg);transition:background-color .15s,border-color .15s}
.edcc-related a:hover{background:var(--edcc-accent-soft);border-color:var(--edcc-foreground);text-decoration:none}

/* ===== Footer (mirrors Footer.tsx) ===== */
.edcc-footer{border-top:2px solid var(--edcc-foreground);background:var(--edcc-surface-2)}
.edcc-footer-inner{padding:3rem 0}
.edcc-footer-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.edcc-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.edcc-footer-grid{grid-template-columns:repeat(4,1fr)}}
.edcc-footer h3{font-family:var(--edcc-font-serif);font-size:1.25rem;font-weight:700;margin:0 0 1rem}
.edcc-footer ul{list-style:none;padding:0;margin:0}
.edcc-footer li{margin:0.5rem 0}
.edcc-footer li a,.edcc-footer .edcc-muted{font-size:0.875rem;color:var(--edcc-muted)}
.edcc-footer li a:hover{text-decoration:underline;color:var(--edcc-foreground)}
.edcc-footer-about p{color:var(--edcc-muted);font-size:0.875rem;margin:0 0 1rem;line-height:1.6}
.edcc-copyright{margin-top:2.5rem;padding-top:2rem;border-top:2px solid var(--edcc-foreground);text-align:center;font-size:0.875rem;color:var(--edcc-muted)}

/* ===== Responsive tweaks ===== */
@media(max-width:640px){
  .edcc-hero{padding:3rem 0 2.5rem}
  main.edcc-main{padding:2.5rem 0 3.5rem}
  .edcc-brand-name{font-size:1.5rem}
}
