/* a2zcache.com — Curated Resource Library */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--amber:#D97706;--amber-light:#F59E0B;--slate:#1E293B;--cream:#FFFBEB;--teal:#0D9488;--teal-light:#14B8A6;--white:#FFFFFF;--gray-100:#F1F5F9;--gray-200:#E2E8F0;--gray-300:#CBD5E1;--gray-500:#64748B;--gray-700:#334155;--gray-800:#1E293B;--radius:8px;--shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);--shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:var(--slate);background:var(--cream);line-height:1.6}
a{color:var(--amber);text-decoration:none;transition:color .2s}
a:hover{color:var(--teal)}
img{max-width:100%;display:block}

/* Skip link */
.skip-link{position:absolute;top:-100%;left:50%;transform:translateX(-50%);background:var(--amber);color:#fff;padding:.5rem 1rem;border-radius:0 0 var(--radius) var(--radius);z-index:1000;font-weight:600}
.skip-link:focus{top:0}

/* Header */
.site-header{background:var(--slate);color:#fff;padding:1rem 0;position:sticky;top:0;z-index:100;box-shadow:var(--shadow-md)}
.header-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{font-size:1.5rem;font-weight:800;color:#fff;display:flex;align-items:center;gap:.5rem}
.logo .accent{color:var(--amber)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem}
.nav-toggle svg{width:24px;height:24px;fill:#fff}
.main-nav ul{list-style:none;display:flex;gap:1.5rem}
.main-nav a{color:var(--gray-200);font-weight:500;font-size:.95rem;transition:color .2s}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:var(--amber)}
.header-search{display:flex;align-items:center;background:rgba(255,255,255,.1);border-radius:var(--radius);padding:.25rem .75rem;gap:.5rem}
.header-search input{background:none;border:none;color:#fff;font-size:.9rem;width:140px;outline:none}
.header-search input::placeholder{color:var(--gray-300)}
.header-search svg{width:16px;height:16px;fill:var(--gray-300);flex-shrink:0}

/* Hero */
.hero{background:linear-gradient(135deg,var(--slate) 0%,#334155 50%,var(--slate) 100%);color:#fff;padding:5rem 1.5rem 4rem;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 30% 50%,rgba(217,119,6,.15) 0%,transparent 50%);pointer-events:none}
.hero h1{font-size:clamp(2rem,5vw,3.5rem);font-weight:800;margin-bottom:1rem;position:relative}
.hero h1 .accent{color:var(--amber)}
.hero p{font-size:1.2rem;color:var(--gray-300);max-width:600px;margin:0 auto 2rem;position:relative}
.hero-search{max-width:500px;margin:0 auto 2.5rem;position:relative}
.hero-search input{width:100%;padding:1rem 1.5rem 1rem 3rem;border:2px solid rgba(217,119,6,.3);border-radius:50px;font-size:1.1rem;background:rgba(255,255,255,.08);color:#fff;outline:none;transition:border-color .3s}
.hero-search input:focus{border-color:var(--amber)}
.hero-search input::placeholder{color:var(--gray-500)}
.hero-search svg{position:absolute;left:1.1rem;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:var(--gray-500)}

/* AZ Nav */
.az-nav{background:var(--white);border-bottom:1px solid var(--gray-200);padding:.75rem 0;position:sticky;top:60px;z-index:90;box-shadow:var(--shadow)}
.az-nav-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem}
.az-nav a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius);font-weight:700;font-size:.9rem;color:var(--slate);background:var(--gray-100);transition:all .2s}
.az-nav a:hover,.az-nav a.active{background:var(--amber);color:#fff}

/* Sections */
.section{max-width:1200px;margin:0 auto;padding:3rem 1.5rem}
.section-header{text-align:center;margin-bottom:2.5rem}
.section-header h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;color:var(--slate);margin-bottom:.5rem}
.section-header p{color:var(--gray-500);font-size:1.05rem;max-width:600px;margin:0 auto}
.section-alt{background:var(--white)}

/* Category Grid */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.cat-card{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);padding:2rem;text-align:center;transition:all .3s;box-shadow:var(--shadow)}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--amber)}
.cat-icon{width:56px;height:56px;margin:0 auto 1rem;background:var(--cream);border-radius:50%;display:flex;align-items:center;justify-content:center}
.cat-icon svg{width:28px;height:28px;fill:var(--amber)}
.cat-card h3{font-size:1.2rem;font-weight:700;margin-bottom:.5rem}
.cat-card p{font-size:.9rem;color:var(--gray-500);margin-bottom:1rem}
.cat-card .count{font-size:.8rem;font-weight:600;color:var(--teal);background:rgba(13,148,136,.1);padding:.25rem .75rem;border-radius:50px;display:inline-block}

/* Featured Collections */
.featured-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}
.featured-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--gray-200);transition:all .3s}
.featured-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.featured-top{background:linear-gradient(135deg,var(--amber),var(--amber-light));padding:1.5rem;color:#fff;position:relative}
.featured-top h3{font-size:1.15rem;font-weight:700}
.featured-top .tag{position:absolute;top:1rem;right:1rem;background:rgba(0,0,0,.2);padding:.2rem .6rem;border-radius:50px;font-size:.75rem;font-weight:600}
.featured-body{padding:1.5rem}
.featured-body p{color:var(--gray-500);font-size:.9rem;margin-bottom:1rem}
.featured-body .meta{display:flex;gap:1rem;font-size:.8rem;color:var(--gray-500)}

/* Resource List */
.resource-list{display:flex;flex-direction:column;gap:1rem}
.resource-item{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);padding:1.5rem;display:flex;gap:1.5rem;align-items:flex-start;transition:all .3s;box-shadow:var(--shadow)}
.resource-item:hover{border-color:var(--amber);box-shadow:var(--shadow-md)}
.resource-num{width:40px;height:40px;background:var(--amber);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;flex-shrink:0}
.resource-content{flex:1;min-width:0}
.resource-content h3{font-size:1.05rem;font-weight:700;margin-bottom:.25rem}
.resource-content h3 a{color:var(--slate)}
.resource-content h3 a:hover{color:var(--amber)}
.resource-desc{font-size:.9rem;color:var(--gray-500);margin-bottom:.5rem}
.resource-meta{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;font-size:.8rem;color:var(--gray-500)}
.resource-tag{background:var(--cream);padding:.15rem .5rem;border-radius:4px;font-weight:600;color:var(--amber)}
.stars{display:flex;gap:2px}
.stars svg{width:14px;height:14px}
.stars .filled{fill:var(--amber)}
.stars .empty{fill:var(--gray-300)}
.resource-link{display:inline-flex;align-items:center;gap:.35rem;color:var(--teal);font-weight:600;font-size:.85rem;margin-top:.5rem}
.resource-link svg{width:14px;height:14px;fill:currentColor}

/* Filter Bar */
.filter-bar{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;align-items:center}
.filter-bar select,.filter-bar input{padding:.6rem 1rem;border:1px solid var(--gray-200);border-radius:var(--radius);font-size:.9rem;font-family:inherit;background:var(--white);color:var(--slate);outline:none}
.filter-bar select:focus,.filter-bar input:focus{border-color:var(--amber)}
.filter-bar input{flex:1;min-width:200px}

/* Form */
.form-section{max-width:700px;margin:0 auto}
.form-group{margin-bottom:1.5rem}
.form-group label{display:block;font-weight:600;margin-bottom:.5rem;color:var(--slate)}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem 1rem;border:1px solid var(--gray-200);border-radius:var(--radius);font-size:.95rem;font-family:inherit;background:var(--white);outline:none;transition:border-color .2s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--amber)}
.form-group textarea{min-height:120px;resize:vertical}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:var(--radius);font-weight:600;font-size:.95rem;border:none;cursor:pointer;transition:all .2s;font-family:inherit}
.btn-primary{background:var(--amber);color:#fff}
.btn-primary:hover{background:#B45309;color:#fff}
.btn-secondary{background:var(--teal);color:#fff}
.btn-secondary:hover{background:#0F766E;color:#fff}
.btn-outline{background:transparent;border:2px solid var(--amber);color:var(--amber)}
.btn-outline:hover{background:var(--amber);color:#fff}

/* Page Hero */
.page-hero{background:linear-gradient(135deg,var(--slate),#334155);color:#fff;padding:3rem 1.5rem;text-align:center}
.page-hero h1{font-size:clamp(1.8rem,4vw,2.5rem);font-weight:800;margin-bottom:.5rem}
.page-hero p{color:var(--gray-300);font-size:1.05rem;max-width:600px;margin:0 auto}
.breadcrumb{max-width:1200px;margin:0 auto;padding:1rem 1.5rem;font-size:.85rem;color:var(--gray-500)}
.breadcrumb a{color:var(--amber)}

/* Stats */
.stats-bar{background:var(--white);border-bottom:1px solid var(--gray-200);padding:1.5rem 0}
.stats-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;justify-content:center;gap:3rem;flex-wrap:wrap}
.stat{text-align:center}
.stat-num{font-size:1.8rem;font-weight:800;color:var(--amber)}
.stat-label{font-size:.8rem;color:var(--gray-500);font-weight:500}

/* GWN Footer */
.gwn-footer{background:var(--slate);color:var(--gray-300);padding:3rem 1.5rem 1.5rem}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-col h4{color:#fff;font-size:.95rem;margin-bottom:1rem;font-weight:700}
.footer-col a{display:block;color:var(--gray-300);font-size:.85rem;padding:.2rem 0;transition:color .2s}
.footer-col a:hover{color:var(--amber)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;font-size:.8rem}
.footer-bottom a{color:var(--gray-300)}
.footer-bottom a:hover{color:var(--amber)}

/* Responsive */
@media(max-width:768px){
  .nav-toggle{display:block}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--slate);padding:1rem 1.5rem;border-top:1px solid rgba(255,255,255,.1)}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;gap:.5rem}
  .main-nav a{display:block;padding:.5rem 0}
  .header-search{display:none}
  .hero{padding:3rem 1.5rem 2.5rem}
  .cat-grid{grid-template-columns:1fr}
  .featured-grid{grid-template-columns:1fr}
  .resource-item{flex-direction:column;gap:1rem}
  .stats-inner{gap:1.5rem}
  .footer-grid{grid-template-columns:1fr 1fr}
  .az-nav a{width:30px;height:30px;font-size:.8rem}
}
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  .filter-bar{flex-direction:column}
}
