:root{
  --teal:#3B6D11;
  --teal-dark:#27500A;
  --teal-light:#EAF3DE;
  --gray:#6B7280;
  --navy:#111827;
  --bg:#F8FAFC;
  --border:#E5E7EB;
  --white:#FFFFFF;
  --amber:#D97706;
  --radius:12px;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--navy);
  background:var(--white);
  line-height:1.6;
}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px;}

/* Header */
header{border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--white);z-index:50;}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px;}
.logo{display:flex;align-items:center;gap:10px;font-weight:600;font-size:20px;}
.logo-icon{width:36px;height:36px;border-radius:10px;background:var(--navy);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.logo-icon svg{width:20px;height:20px;}
.logo-text .p1{color:var(--navy);}
.logo-text .p2{color:var(--gray);}
.logo-text .p3{color:var(--teal);}
nav.links{display:flex;gap:32px;font-size:15px;font-weight:500;}
nav.links a{color:#374151;}
nav.links a:hover{color:var(--teal);}
nav.links a.active{color:var(--teal);}
.nav-cta{display:flex;align-items:center;gap:16px;}

/* Buttons */
.btn{display:inline-block;padding:10px 20px;border-radius:8px;font-size:15px;font-weight:600;border:1px solid transparent;cursor:pointer;background:none;font-family:inherit;}
.btn-primary{background:var(--teal);color:var(--white);}
.btn-primary:hover{background:var(--teal-dark);}
.btn-secondary{background:var(--white);color:var(--navy);border:1px solid var(--border);}
.btn-secondary:hover{border-color:var(--teal);color:var(--teal);}
.btn-outline-white{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,0.5);}
.btn-outline-white:hover{border-color:var(--white);}
.btn-block{display:block;text-align:center;width:100%;}
.btn-lg{padding:14px 26px;font-size:16px;}
.btn:disabled{opacity:.45;cursor:not-allowed;}

/* Breadcrumb */
.breadcrumb{padding:16px 0;font-size:13px;color:var(--gray);}
.breadcrumb a:hover{color:var(--teal);}
.breadcrumb span{margin:0 6px;}

/* Hero (homepage) */
.hero{background:var(--bg);padding:80px 0 64px;border-bottom:1px solid var(--border);}
.hero-inner{max-width:720px;}
.eyebrow{color:var(--teal);font-weight:600;font-size:14px;letter-spacing:.02em;text-transform:uppercase;margin-bottom:16px;}
h1{font-size:44px;font-weight:600;line-height:1.2;letter-spacing:-.01em;margin-bottom:20px;}
.hero p{font-size:18px;color:#4B5563;margin-bottom:32px;max-width:600px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
.hero-note{font-size:14px;color:var(--gray);}

/* Category hero */
.cat-hero{background:var(--bg);border-bottom:1px solid var(--border);padding:32px 0 40px;}
.cat-hero h1{font-size:34px;font-weight:600;letter-spacing:-.01em;margin-bottom:12px;max-width:760px;}
.cat-hero p{color:#4B5563;font-size:16px;max-width:680px;margin-bottom:24px;}
.hero-stats{display:flex;gap:28px;flex-wrap:wrap;font-size:14px;color:var(--navy);}
.hero-stats .stat{display:flex;align-items:center;gap:8px;}
.hero-stats .dot{width:6px;height:6px;border-radius:50%;background:var(--teal);}

/* Sections */
.section{padding:72px 0;}
.section-head{max-width:640px;margin-bottom:40px;}
.section-head h2{font-size:30px;font-weight:600;margin-bottom:12px;letter-spacing:-.01em;}
.section-head p{color:#4B5563;font-size:16px;}

/* Category grid (homepage) */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.cat-card{border:1px solid var(--border);border-radius:var(--radius);padding:24px;background:var(--white);transition:box-shadow .15s,border-color .15s;}
.cat-card:hover{border-color:var(--teal);box-shadow:0 4px 16px rgba(20,116,106,0.08);}
.cat-icon{width:44px;height:44px;border-radius:10px;background:var(--teal-light);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.cat-icon svg{width:22px;height:22px;stroke:var(--teal);}
.cat-card h3{font-size:17px;font-weight:600;margin-bottom:6px;}
.cat-card p{font-size:14px;color:var(--gray);margin-bottom:16px;}
.cat-card .cat-link{font-size:14px;font-weight:600;color:var(--teal);}
.cat-card .cat-link:hover{text-decoration:underline;}

/* Steps */
.steps{background:var(--bg);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.step-num{width:32px;height:32px;border-radius:50%;background:var(--teal);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;margin-bottom:18px;}
.step h3{font-size:18px;font-weight:600;margin-bottom:8px;}
.step p{font-size:15px;color:#4B5563;}

/* Value props */
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.value h3{font-size:17px;font-weight:600;margin-bottom:8px;}
.value p{font-size:15px;color:var(--gray);}

/* Vendor CTA banner */
.vendor-cta{background:var(--navy);color:var(--white);border-radius:16px;padding:56px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;}
.vendor-cta h2{font-size:26px;font-weight:600;margin-bottom:10px;}
.vendor-cta p{color:#D1D5DB;font-size:15px;max-width:440px;}
.vendor-cta-actions{display:flex;gap:14px;flex-shrink:0;}

/* Category layout with filters */
.layout{display:grid;grid-template-columns:260px 1fr;gap:40px;padding:40px 0 72px;align-items:start;}
.filters{border:1px solid var(--border);border-radius:var(--radius);padding:20px;position:sticky;top:96px;}
.filters h3{font-size:15px;font-weight:600;margin-bottom:16px;}
.filter-group{margin-bottom:22px;}
.filter-group h4{font-size:13px;font-weight:600;color:var(--gray);text-transform:uppercase;letter-spacing:.03em;margin-bottom:10px;}
.filter-group label{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:8px;color:#374151;}
.filter-cta{margin-top:8px;}

.list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:12px;}
.list-head h2{font-size:18px;font-weight:600;}
.list-head .count{font-size:14px;color:var(--gray);}

/* Vendor card */
.vendor-card{border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:16px;display:grid;grid-template-columns:56px 1fr auto;gap:20px;align-items:start;}
.vendor-avatar{width:56px;height:56px;border-radius:10px;background:var(--teal-light);color:var(--teal-dark);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;}
.vendor-info h3{font-size:17px;font-weight:600;margin-bottom:4px;}
.vendor-info .tagline{font-size:14px;color:var(--gray);margin-bottom:10px;}
.rating{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--amber);margin-bottom:10px;}
.rating .count{color:var(--gray);}
.tags{display:flex;gap:8px;flex-wrap:wrap;}
.tag{background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:4px 10px;font-size:12px;color:#374151;}
.vendor-actions{display:flex;flex-direction:column;gap:8px;min-width:140px;}
.vendor-actions .btn{font-size:13px;padding:9px 14px;text-align:center;}
.placeholder-note{font-size:12px;color:var(--gray);font-style:italic;margin-top:2px;}

/* Inline CTA */
.inline-cta{background:var(--navy);color:var(--white);border-radius:var(--radius);padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:32px 0;}
.inline-cta h3{font-size:17px;font-weight:600;margin-bottom:4px;}
.inline-cta p{font-size:14px;color:#D1D5DB;}

/* Buying guide */
.guide{margin-bottom:36px;}
.guide h2{font-size:20px;font-weight:600;margin-bottom:12px;}
.guide p{font-size:15px;color:#374151;margin-bottom:14px;max-width:760px;}

/* FAQ */
.faq{margin-top:48px;}
.faq h2{font-size:20px;font-weight:600;margin-bottom:20px;}
.faq-item{border-bottom:1px solid var(--border);padding:16px 0;}
.faq-item summary{cursor:pointer;font-weight:600;font-size:15px;list-style:none;display:flex;justify-content:space-between;align-items:center;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:18px;color:var(--gray);}
.faq-item[open] summary::after{content:"\2212";}
.faq-item p{font-size:14px;color:#4B5563;margin-top:10px;max-width:700px;}

/* Quiz */
.quiz-shell{max-width:640px;margin:0 auto;padding:56px 24px 96px;}
.quiz-progress{height:6px;background:var(--border);border-radius:3px;margin-bottom:36px;overflow:hidden;}
.quiz-progress-bar{height:100%;background:var(--teal);border-radius:3px;transition:width .25s ease;}
.quiz-step{display:none;}
.quiz-step.active{display:block;}
.quiz-step .step-label{font-size:13px;font-weight:600;color:var(--teal);text-transform:uppercase;letter-spacing:.03em;margin-bottom:10px;}
.quiz-step h2{font-size:24px;font-weight:600;margin-bottom:24px;}
.quiz-options{display:grid;gap:12px;margin-bottom:32px;}
.quiz-option{border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;cursor:pointer;font-size:15px;font-weight:500;transition:border-color .15s,background .15s;display:flex;align-items:center;gap:12px;}
.quiz-option:hover{border-color:var(--teal);}
.quiz-option.selected{border-color:var(--teal);background:var(--teal-light);color:var(--teal-dark);}
.quiz-option input{accent-color:var(--teal);}
.quiz-nav{display:flex;justify-content:space-between;align-items:center;}
.quiz-result{text-align:center;padding:32px 0;}
.quiz-result .check{width:64px;height:64px;border-radius:50%;background:var(--teal-light);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.quiz-result .check svg{width:30px;height:30px;stroke:var(--teal);}
.quiz-result h2{font-size:24px;font-weight:600;margin-bottom:12px;}
.quiz-result p{color:#4B5563;font-size:15px;margin-bottom:28px;max-width:440px;margin-left:auto;margin-right:auto;}
.quiz-form-field{margin-bottom:16px;text-align:left;}
.quiz-form-field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#374151;}
.quiz-form-field input{width:100%;padding:11px 14px;border:1px solid var(--border);border-radius:8px;font-size:15px;font-family:inherit;}
.quiz-form-field input:focus{outline:none;border-color:var(--teal);}

/* Compare table */
.compare-picker{display:flex;gap:16px;margin-bottom:32px;flex-wrap:wrap;}
.compare-picker select{padding:10px 14px;border:1px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;min-width:200px;}
.compare-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);}
table.compare-table{width:100%;border-collapse:collapse;font-size:14px;min-width:640px;}
table.compare-table th,table.compare-table td{padding:16px 20px;text-align:left;border-bottom:1px solid var(--border);}
table.compare-table th{background:var(--bg);font-weight:600;}
table.compare-table td.feature-name{font-weight:600;color:#374151;white-space:nowrap;}
table.compare-table tr:last-child td{border-bottom:none;}
.check-yes{color:var(--teal);font-weight:700;}
.check-no{color:var(--gray);}

/* Vendor profile page */
.profile-header{display:flex;gap:24px;align-items:flex-start;padding:40px 0;border-bottom:1px solid var(--border);flex-wrap:wrap;}
.profile-avatar{width:72px;height:72px;border-radius:14px;background:var(--teal-light);color:var(--teal-dark);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:22px;flex-shrink:0;}
.profile-title h1{font-size:28px;margin-bottom:6px;}
.profile-title .tagline{color:var(--gray);font-size:15px;margin-bottom:10px;}
.profile-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;padding:40px 0 72px;align-items:start;}
.profile-card{border:1px solid var(--border);border-radius:var(--radius);padding:24px;position:sticky;top:96px;}
.profile-card h3{font-size:16px;font-weight:600;margin-bottom:14px;}
.profile-card .price{font-size:24px;font-weight:600;margin-bottom:4px;}
.profile-card .price-note{font-size:13px;color:var(--gray);margin-bottom:20px;}
.profile-section{margin-bottom:36px;}
.profile-section h2{font-size:19px;font-weight:600;margin-bottom:14px;}
.profile-section p{font-size:15px;color:#374151;margin-bottom:12px;}
.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;}
.feature-list li{font-size:14px;display:flex;gap:8px;align-items:flex-start;color:#374151;}
.feature-list li svg{width:16px;height:16px;stroke:var(--teal);flex-shrink:0;margin-top:3px;}
.screenshot-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.screenshot-placeholder{aspect-ratio:16/10;background:var(--bg);border:1px dashed var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--gray);font-size:12px;}
.review-card{border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:14px;}
.review-card .review-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;}
.review-card .reviewer{font-weight:600;font-size:14px;}
.review-card p{font-size:14px;color:#374151;}

/* Vendors / for-vendors page */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.pricing-card{border:1px solid var(--border);border-radius:var(--radius);padding:28px;}
.pricing-card.featured{border-color:var(--teal);box-shadow:0 4px 20px rgba(20,116,106,0.12);position:relative;}
.pricing-badge{position:absolute;top:-12px;left:28px;background:var(--teal);color:var(--white);font-size:12px;font-weight:600;padding:4px 12px;border-radius:6px;}
.pricing-card h3{font-size:18px;font-weight:600;margin-bottom:6px;}
.pricing-card .price{font-size:30px;font-weight:600;margin-bottom:4px;}
.pricing-card .price-note{font-size:13px;color:var(--gray);margin-bottom:20px;}
.pricing-card ul{margin-bottom:24px;}
.pricing-card ul li{font-size:14px;color:#374151;margin-bottom:10px;padding-left:22px;position:relative;}
.pricing-card ul li::before{content:"\2713";position:absolute;left:0;color:var(--teal);font-weight:700;}
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.benefit-icon{width:44px;height:44px;border-radius:10px;background:var(--teal-light);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.benefit-icon svg{width:22px;height:22px;stroke:var(--teal);}

/* Footer */
footer{border-top:1px solid var(--border);padding:56px 0 32px;}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;margin-bottom:40px;}
.footer-col h4{font-size:14px;font-weight:600;margin-bottom:14px;color:var(--navy);}
.footer-col ul li{margin-bottom:10px;}
.footer-col ul li a{font-size:14px;color:var(--gray);}
.footer-col ul li a:hover{color:var(--teal);}
.footer-about p{font-size:14px;color:var(--gray);max-width:280px;margin-top:14px;}
.footer-bottom{border-top:1px solid var(--border);padding-top:24px;font-size:13px;color:var(--gray);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;}
footer.simple{padding:32px 0;}
footer.simple .footer-bottom{border-top:none;padding-top:0;}

@media(max-width:900px){
  nav.links{display:none;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .step-grid,.value-grid,.pricing-grid,.benefits-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  h1{font-size:32px;}
  .vendor-cta{padding:32px;}
  .layout,.profile-layout{grid-template-columns:1fr;}
  .filters,.profile-card{position:static;}
  .vendor-card{grid-template-columns:1fr;}
  .vendor-actions{flex-direction:row;}
  .feature-list{grid-template-columns:1fr;}
  .screenshot-row{grid-template-columns:1fr;}
}
