/* SuretyMarketplace green theme (preview) — FloodMarkets layout system, green palette.
   Loaded LAST on every page; content, links and scripts are untouched. */
:root{
  --smg-deep:#10261a;--smg-900:#18381f;--smg-800:#1f4a2a;--smg-700:#2a5a33;--smg-600:#2f6b3a;
  --smg-500:#3f8a4a;--smg-400:#4f8f58;--smg-soft:#6fa874;--smg-mint:#bfe3b4;--smg-tint:#edf5ea;
  --smg-gold:#e0b94a;--smg-gold-dk:#d4a63a;--smg-ink:#2a2c2b;--smg-muted:#5b5d5c;--smg-gray:#f5f5f5;--smg-card:#f1f1f1;
  --smg-footer:#0f2417;--smg-font:Montserrat,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --smg-hero:url("img/sm-pattern.svg"),linear-gradient(115deg,#3f8a4a 0%,#2a5a33 42%,#18381f 72%,#10261a 100%);
  --accent:#2f6b3a;--accent-light:#edf5ea;--ink:#2a2c2b;--ink-light:#4a4c4b;--ink-muted:#6b6d6c;--off-white:#ffffff;
}
html body{font-family:var(--smg-font)!important;color:var(--smg-ink);background:#fff;-webkit-font-smoothing:antialiased}
body h1,body h2,body h3,body h4,body [class*="-title"],body .section-title,body .bonds-title,body .stat-num,body .about-stat-num{font-family:var(--smg-font)!important;letter-spacing:-.02em}
body h1,body [class*="hero-title"]{font-weight:700!important}
body h2,body h3,body .section-title{font-weight:700}
body input,body button,body textarea,body select{font-family:var(--smg-font)!important}
body a{color:var(--smg-600)}

/* ---------- header ---------- */
body > nav:not(.smg-keep){display:none!important}
.smg-header{position:relative;z-index:50;background:var(--smg-deep);background-image:linear-gradient(115deg,#1f4a2a 0%,#18381f 55%,#10261a 100%);padding:18px 0}
.smg-home .smg-header{position:absolute;left:0;right:0;top:0;background:transparent;padding:22px 0}
.smg-header-inner{width:min(1240px,calc(100% - 48px));margin:0 auto;display:flex;align-items:center;gap:28px}
.smg-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;flex:0 0 auto}
.smg-logo img{height:44px;width:auto;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.smg-logo svg{display:block;width:250px;height:auto}
.smg-nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.smg-nav a{color:#fff!important;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-decoration:none!important;opacity:.95;white-space:nowrap}
.smg-nav a:hover{opacity:1;color:var(--smg-mint)!important}
.smg-btn-white{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--smg-600)!important;border-radius:100px;padding:10px 20px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-decoration:none!important;white-space:nowrap}
.smg-toggle{display:none;width:42px;height:42px;border:0;background:transparent;position:relative;cursor:pointer}
.smg-toggle span,.smg-toggle span::before,.smg-toggle span::after{position:absolute;left:10px;right:10px;height:2px;background:#fff;border-radius:2px;content:""}
.smg-toggle span{top:20px}.smg-toggle span::before{top:-7px;left:0;right:0}.smg-toggle span::after{top:7px;left:0;right:0}
.smg-mobile{display:none}
.smg-mobile.open{display:flex;flex-direction:column;gap:4px;width:calc(100% - 32px);margin:12px auto 0;background:#fff;border-radius:16px;padding:12px;box-shadow:0 12px 32px rgba(0,0,0,.2)}
.smg-mobile a{color:var(--smg-ink)!important;font-weight:600;padding:10px 12px;text-decoration:none!important;border-radius:8px}
@media (max-width:1100px){.smg-nav{display:none}.smg-toggle{display:block}.smg-header-inner{gap:12px}.smg-header-inner .smg-btn-white{margin-left:auto}}
@media (max-width:480px){.smg-logo img{height:30px}.smg-logo svg{width:118px}.smg-btn-white{padding:8px 12px;font-size:11.5px}.smg-header-inner{width:calc(100% - 28px)}}

/* ---------- buttons ---------- */
body .btn-primary,body .smg-btn,body .article-cta a,body .contact-cta a,body a.contact-cta{background:var(--smg-gold)!important;color:var(--smg-deep)!important;border-radius:.5rem!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.04em;font-size:15px!important;padding:15px 26px!important;box-shadow:none!important;text-decoration:none!important;border:0!important}
body .btn-primary:hover,body .smg-btn:hover{background:var(--smg-gold-dk)!important;transform:none}
.smg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* ---------- heroes (all page types) ---------- */
body .lp-hero,body .about-hero,body .page-hero,body .contact-hero,body .edu-hero{background:var(--smg-hero)!important;background-size:cover,cover!important;background-position:center!important;color:#fff!important;text-align:left!important;border:0!important;padding:72px max(32px,calc((100% - 1180px)/2)) 84px!important;position:relative;overflow:hidden}
body .lp-hero::before,body .about-hero::before,body .page-hero::before{display:none!important}
body .lp-hero h1,body [class*="-hero-title"]{color:#fff!important;font-size:clamp(32px,4.4vw,54px)!important;line-height:1.1!important;max-width:20ch;margin:0 0 22px!important;font-weight:700!important}
body .lp-hero h1::after,body [class*="-hero-title"]::after{content:"";display:block;width:86px;height:3px;background:#fff;margin-top:24px}
body .lp-hero-sub,body [class*="-hero-desc"],body .page-hero-meta{color:rgba(255,255,255,.92)!important;font-size:17px!important;font-weight:500!important;line-height:1.6!important;max-width:40em!important;margin:0 0 26px!important}
body [class*="-hero-eyebrow"],body .lp-hero-note{color:rgba(255,255,255,.85)!important;font-size:12px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase}
body .lp-hero-badge{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;border-radius:100px;font-weight:600}
body .lp-hero-cta{justify-content:flex-start!important}
body .breadcrumb,body .crumb-bar{font-size:13px}
body .crumb-bar{background:var(--smg-gray)!important;border-bottom:1px solid #e9e9e9}
body .breadcrumb a{color:var(--smg-600)!important}
body .lp-hero .breadcrumb,body [class*="-hero"] .breadcrumb{color:rgba(255,255,255,.8)!important}
body [class*="-hero"] .breadcrumb a{color:#fff!important}

/* ---------- trust + content ---------- */
body .trust-bar{background:#fff!important;border-bottom:1px solid #ececec!important;padding:26px 24px!important;gap:14px 34px!important}
body .trust-item{color:var(--smg-ink)!important;font-weight:600!important;font-size:14px!important}
body .trust-item svg{color:var(--smg-600)!important;stroke:var(--smg-600)}
body .section-label,body [class*="-eyebrow"]:not([class*="hero"]),body .about-section-eyebrow,body .blog-tag,body .article-eyebrow{color:var(--smg-600)!important;font-weight:700!important;letter-spacing:.14em!important}
body .section-title{font-size:clamp(26px,3.2vw,40px)!important;color:var(--smg-ink)!important}
body .section-body,body .section-body p{color:#3a3c3b;font-weight:500;line-height:1.7}
body .info-card,body .blog-card,body .blog-card-featured,body .value-card,body .contact-card,body .faq-item,body .bond-group,body .rule-item,body .news-list>li,body .legal-toc,body .legal-contact-box{border:1px solid #ececec!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(16,38,26,.05)!important;background:#fff}
body .info-card-icon,body .value-icon,body .contact-card-icon,body .feature-icon{background:var(--smg-tint)!important;color:var(--smg-600)!important;border-radius:12px!important}
body .info-card-icon svg,body .value-icon svg,body .contact-card-icon svg{stroke:var(--smg-600)}
body .rule-num,body .auto-step-num{background:linear-gradient(135deg,#3f8a4a,#10261a)!important;color:#fff!important;border-radius:12px!important;font-weight:800}
body .rules-section,body .automation-section{background:var(--smg-gray)!important}
body .stat-num,body .about-stat-num{color:var(--smg-600)!important;font-weight:800!important}
body .blog-card-visual,body .blog-card-featured-visual{background:linear-gradient(135deg,#3f8a4a,#18381f)!important;color:#fff}
body .blog-card-visual svg,body .blog-card-featured-icon svg{stroke:#fff}
body .related-links a{border-radius:100px!important;background:var(--smg-tint)!important;color:var(--smg-600)!important;border:0!important;font-weight:600}
body .article-callout,body .legal-callout{background:var(--smg-tint)!important;border-left:4px solid var(--smg-600)!important}
body .bond-card{border-radius:14px!important}
body .bond-card:hover{border-color:var(--smg-600)!important}
body .bond-amount{color:var(--smg-600)!important;font-weight:700}
body .bond-arrow{color:var(--smg-600)!important}

/* ---------- CTA panel (purchase-callout / article-cta) ---------- */
body .purchase-callout{background:transparent!important;color:var(--smg-ink)!important;padding:40px 24px 0!important;margin-bottom:-110px;position:relative;z-index:2}
body .purchase-callout::before{display:none!important}
body .purchase-callout > *{position:relative}
body .purchase-callout{display:block}
body .purchase-callout .smg-cta-panel{width:min(1100px,100%);margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(16,38,26,.22);text-align:left}
body .smg-cta-copy{background:linear-gradient(135deg,#3f8a4a 0%,#2a5a33 45%,#10261a 100%);color:#fff;padding:44px 44px}
body .smg-cta-copy h2{color:#fff!important;font-size:clamp(24px,2.6vw,32px)!important;margin:0 0 14px!important;font-family:var(--smg-font)!important;font-weight:700!important}
body .smg-cta-copy p{color:rgba(255,255,255,.9)!important;font-size:15px!important;line-height:1.6;margin:0 0 22px!important;font-weight:500}
body .smg-cta-copy .purchase-note{font-size:13px!important;color:rgba(255,255,255,.75)!important;margin:16px 0 0!important}
body .smg-cta-art{background:#edf4ea;display:flex;align-items:center;justify-content:center}
body .smg-cta-art svg{width:100%;height:100%;max-height:300px}
@media (max-width:820px){body .purchase-callout .smg-cta-panel{grid-template-columns:1fr}body .smg-cta-art{display:none}body .smg-cta-copy{padding:32px 24px}}

/* ---------- footer ---------- */
body > footer:not(.smg-footer){display:none!important}
footer.smg-footer{display:block!important;background:var(--smg-footer)!important;color:#d6d6d6;padding:150px 0 0!important;border:0!important;font-size:14px;margin-top:0}
footer.smg-footer.no-cta{padding-top:64px!important;margin-top:72px}
.smg-footer-grid{width:min(1180px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px}
.smg-footer h2{color:#fff!important;font-size:15px!important;font-weight:700!important;margin:0 0 18px!important;letter-spacing:0}
.smg-footer ul{list-style:none;margin:0;padding:0}
.smg-footer li{margin:0 0 12px}
.smg-footer a{color:#d6d6d6!important;text-decoration:none!important}
.smg-footer a:hover{color:#fff!important}
.smg-footer p{color:#c9cfc9;line-height:1.65;margin:0 0 14px;font-size:13.5px}
.smg-footer .smg-logo svg{width:232px}.smg-footer .smg-logo img{height:38px}
.smg-footer .smg-contact li{display:flex;gap:12px}
.smg-footer .smg-contact svg{width:18px;height:18px;flex:0 0 18px;stroke:#d6d6d6;fill:none;stroke-width:1.6;margin-top:2px}
.smg-footer .lbl{display:block;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff}
.smg-footer-bottom{width:min(1180px,calc(100% - 48px));margin:40px auto 0;border-top:1px solid rgba(255,255,255,.12);padding:22px 0 30px;font-size:12.5px;color:#aab3aa}
.smg-footer-bottom a{text-decoration:underline!important}
@media (max-width:900px){.smg-footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.smg-footer-grid{grid-template-columns:1fr;gap:28px}}

/* ---------- purchase disclaimer (above footer, after CTAs) ---------- */
#purchase-disclaimer,.purchase-disclaimer{background:#f3f5f3;color:#2a2c2b;border-top:1px solid #d4ddd6;border-bottom:1px solid #d4ddd6;padding:20px 24px;margin:0;position:relative;z-index:1;font-family:var(--smg-font);font-size:14px;line-height:1.65}
#purchase-disclaimer.purchase-disclaimer--after-cta{margin-top:126px}
#purchase-disclaimer .purchase-disclaimer-inner{width:min(1180px,calc(100% - 48px));margin:0 auto}
#purchase-disclaimer p{margin:0;color:#2a2c2b;font-size:14px;line-height:1.65}
#purchase-disclaimer a{color:var(--smg-600);text-decoration:underline}
#purchase-disclaimer a:hover{color:var(--smg-800)}
#purchase-disclaimer + footer.smg-footer{padding-top:40px!important}
#purchase-disclaimer + footer.smg-footer.no-cta{padding-top:40px!important;margin-top:0!important}

/* ---------- mobile type ---------- */
@media (max-width:640px){
 body .lp-hero,body .about-hero,body .page-hero,body .contact-hero,body .edu-hero{padding:48px 22px 56px!important}
 body .lp-hero h1,body [class*="-hero-title"]{font-size:32px!important}
 body .lp-hero-sub,body [class*="-hero-desc"]{font-size:16px!important}
}
/* neutralise legacy `nav {}` rules from styles.css on the new header navs */
body nav.smg-nav,body nav.smg-mobile{background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;height:auto!important;padding:0!important;flex-shrink:1;z-index:auto;box-shadow:none}
body nav.smg-mobile.open{background:#fff!important;padding:12px!important;box-shadow:0 12px 32px rgba(0,0,0,.2)!important}
@media (max-width:1100px){body nav.smg-nav{display:none!important}}
/* legacy pages set html/body to 100% height + flex column, which squashes heroes */
html{height:auto!important}
html body{height:auto!important;min-height:100vh}
html body > *{flex-shrink:0}
body .crumb-bar{width:100%!important;max-width:none!important;padding:12px max(24px,calc((100% - 1180px)/2))!important;margin:0!important;border-radius:0!important}
body .breadcrumb{justify-content:flex-start!important;gap:8px}
body [class*="section-title"],body .about-intro h2,body .contact-card-title,body .faq-section h2{font-weight:700!important}
body .contact-content,body .legal-layout,body .about-content{box-sizing:border-box;max-width:100%}
