:root {
  --bg-body: #f8f5f0;
  --bg-card: #ffffff;
  --bg-section: #f8f5f0;
  --bg-header: #f8f5f0;
  --bg-footer: #f8f5f0;
  --text-primary: #2d2a26;
  --text-secondary: #4a4743;
  --text-muted: #6b6864;
  --link: #7a1c1c;
  --link-hover: #5a1515;
  --accent: #7a1c1c;
  --accent-hover: #5a1515;
  --accent-fg: #ffffff;
  --border: #e0dcd6;
  --radius: 8px;
  --site-max-width:1200px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --font-heading: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-body: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-xl);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover, a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Layout */
.site-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

main {
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-section);
}

.section--light {
  background-color: var(--bg-body);
}

.section--dark {
  background-color: var(--text-primary);
  color: var(--bg-body);
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5, .section--dark h6,
.section--dark p, .section--dark li, .section--dark span {
  color: var(--bg-body);
}

.section--dark a {
  color: var(--bg-body);
  text-decoration: underline;
}

.section--dark a:hover, .section--dark a:focus {
  color: var(--accent);
}

@media (max-width: 720px) {
  .section {
    padding: var(--spacing-xl) 0;
  }
}

/* Grid */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.bp-hero-grid,
.bp-kpi-grid,
.bp-panel-grid {
  grid-template-columns: repeat(2, 1fr);
}

.bp-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.bp-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.bp-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-layout,
  .bp-hero-grid,
  .bp-kpi-grid,
  .bp-panel-grid,
  .bp-grid-2,
  .bp-grid-3,
  .bp-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .grid-layout,
  .bp-hero-grid,
  .bp-kpi-grid,
  .bp-panel-grid,
  .bp-grid-2,
  .bp-grid-3,
  .bp-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Header & Nav */
.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  min-height: 64px;
  gap: var(--spacing-lg);
}

.site-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.site-logo:hover, .site-logo:focus {
  color: var(--link-hover);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.site-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.site-nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  line-height: 1.1;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
}

.site-nav-list a:hover, .site-nav-list a:focus {
  background-color: rgba(122, 28, 28, 0.08);
  color: var(--accent-hover);
  text-decoration: none;
}

/* Mobile Nav Toggle */
.site-header-inner {
  position: relative;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: 0.3s ease;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--bg-card, var(--bg-body, #fff));
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    z-index: 1001;
    padding: 12px;
    flex-direction: column;
    gap: var(--spacing-md);
  }
  .site-nav.is-open {
    display: flex !important;
  }
  .site-nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .site-nav-list a {
    width: 100%;
    justify-content: center;
  }
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Footer */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  color: var(--text-secondary);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  align-items: start;
}

.site-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.site-footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.site-footer-nav a:hover, .site-footer-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer-meta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer-meta a {
  color: var(--text-muted);
}

.site-footer-meta a:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Cards & Panels */
.card, .bp-panel, .kpi-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover, .bp-panel:hover, .kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  white-space: nowrap;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: var(--spacing-xs);
  font-size: 1rem;
}

.btn:disabled, .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-fg);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: var(--text-primary);
  color: var(--text-primary);
  text-decoration: none;
}

.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(122, 28, 28, 0.2);
}


/* AUTO-PATCHED: Show burger button on mobile */
@media (max-width: 720px){
  .nav-toggle{display:inline-flex !important}
}


/* AUTO-PATCHED: Vertical rhythm safety */
:where(main section, main .section){padding:56px 0}
@media (max-width:720px){:where(main section, main .section){padding:40px 0}}
:where(main h2, main h3){margin:0 0 14px}
:where(main p, main ul, main ol){margin:0 0 14px}
:where(main ul, main ol){padding-left:1.2em}
:where(main .grid-layout){gap:20px}
:where(main .card){padding:24px}
:where(main .hero-actions, main .form-actions){margin-top:18px;margin-bottom:28px;gap:14px;flex-wrap:wrap}


/* AUTO-PATCHED: Hero CTA spacing (v1) */
:where(main .hero-cta){margin-top:18px;margin-bottom:28px;display:flex;gap:14px;flex-wrap:wrap}


/* AUTO-PATCHED: Card text contrast safety (v1) */
.card{color:var(--text-primary, currentColor) !important}
.card :where(p,li){color:var(--text-secondary, var(--text-primary, currentColor)) !important}
.card :where(h1,h2,h3,h4,h5,h6){color:var(--text-primary, currentColor) !important}


/* AUTO-PATCHED: bp-editorial layout safety (v1) */
.bp-editorial.grid-layout{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,2fr) !important;gap:24px;align-items:start}
@media (max-width:960px){.bp-editorial.grid-layout{grid-template-columns:1fr !important}}
.bp-editorial .bp-aside,.bp-editorial .bp-main{min-width:0}
.bp-editorial .bp-main{display:grid;gap:16px}


/* AUTO-PATCHED: Blueprint grid layout safety (v1) */
.grid-layout.bp-grid-2,.bp-grid-2.grid-layout{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
.grid-layout.bp-grid-3,.bp-grid-3.grid-layout{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
@media (max-width:960px){.grid-layout.bp-grid-3,.bp-grid-3.grid-layout{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media (max-width:720px){.grid-layout.bp-grid-2,.bp-grid-2.grid-layout,.grid-layout.bp-grid-3,.bp-grid-3.grid-layout{grid-template-columns:1fr !important}}
.bp-zigzag-row.grid-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:24px;align-items:start}
@media (max-width:960px){.bp-zigzag-row.grid-layout{grid-template-columns:1fr !important}}
.bp-panel-grid.grid-layout{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:20px}
@media (max-width:720px){.bp-panel-grid.grid-layout{grid-template-columns:1fr !important}}
.bp-kpi-grid.grid-layout{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:20px}
@media (max-width:960px){.bp-kpi-grid.grid-layout{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media (max-width:720px){.bp-kpi-grid.grid-layout{grid-template-columns:1fr !important}}


/* AUTO-PATCHED: Blueprint grid layout safety (v2) */
.grid-layout.bp-grid-4,.bp-grid-4.grid-layout{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
@media (max-width:960px){.grid-layout.bp-grid-4,.bp-grid-4.grid-layout{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media (max-width:720px){.grid-layout.bp-grid-4,.bp-grid-4.grid-layout{grid-template-columns:1fr !important}}
.bp-panel-grid.grid-layout > .bp-panel{grid-column:auto !important}
.bp-kpi-grid.grid-layout > .kpi-card{grid-column:auto !important}


/* AUTO-PATCHED: Mobile stack safety (v1) */
@media (max-width:720px){
  main .grid-layout{grid-template-columns:1fr !important}
  main .grid-layout.bp-grid-2,
  main .grid-layout.bp-grid-3,
  main .bp-grid-2,
  main .bp-grid-3{grid-template-columns:1fr !important}
  main .bp-hero-grid{grid-template-columns:1fr !important}
  main .bp-kpi-grid{grid-template-columns:1fr !important}
  main .bp-panelled{display:grid !important;grid-template-columns:1fr !important}
  main .bp-hero-split{display:grid !important;grid-template-columns:1fr !important}
  main .bp-editorial{display:grid !important;grid-template-columns:1fr !important}
  main .bp-zigzag-row{display:grid !important;grid-template-columns:1fr !important}
  main .bp-hero-grid > *,
  main .grid-layout > *,
  main .bp-grid-2 > *,
  main .bp-grid-3 > *,
  main .bp-kpi-grid > *,
  main .bp-panelled > *,
  main .bp-hero-split > *,
  main .bp-editorial > *{min-width:0}
}


/* AUTO-PATCHED: Footer copyright centered (v1) */
.site-footer-meta{display:block !important;text-align:center !important;justify-content:initial !important;align-items:initial !important;gap:0 !important;flex-wrap:initial !important}
.site-footer-meta{letter-spacing:normal !important;word-spacing:normal !important}

/* AUTO-PATCHED: Footer grid columns (v5) */
@media (min-width:721px){
  .site-footer .site-footer-inner{display:grid !important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) !important;gap:clamp(18px,3vw,64px) !important;align-items:start}
  .site-footer .site-footer-left{display:flex !important;flex-direction:column !important;gap:18px !important}
  .site-footer .site-footer-right{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:clamp(18px,3vw,56px) !important;justify-content:end !important}
  .site-footer .site-footer-brand,.site-footer .site-footer-contact{justify-self:start !important}
  .site-footer .site-footer-links,.site-footer .site-footer-legal,.site-footer .site-footer-nav{justify-self:start !important}
  .site-footer .site-footer-meta{grid-column:1 / -1 !important}
}


/* AUTO-PATCHED: Footer brand title polish (v3) */
.site-footer-brand{display:flex;flex-direction:column;gap:10px}
@media (min-width:721px){.site-footer-brand{text-align:left;align-items:flex-start}}
.site-footer-title{font-weight:800;font-size:clamp(1.1rem,2.2vw,1.6rem);line-height:1.1;letter-spacing:-0.02em;color:var(--text-body, var(--text-footer, #fff))}
.site-footer-note{max-width:36ch;opacity:0.82}


/* AUTO-PATCHED: Footer flexora-style (v6) */
.site-footer{background:var(--footer-bg, var(--bg-footer, var(--bg-surface, var(--bg-body, #fff)))) !important;color:var(--footer-text, var(--text-footer, var(--text-body, var(--text-main, var(--text-primary, #111))))) !important}
.site-footer a{color:var(--footer-link, var(--link-footer, var(--link, currentColor))) !important;text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible{text-decoration:underline;color:var(--footer-link-hover, var(--link-footer-hover, var(--link-hover, var(--color-accent, currentColor)))) !important}
.site-footer .site-footer-col-title{margin:0 0 10px;font-size:1rem;font-weight:800;color:var(--footer-text, var(--text-footer, var(--footer-link-hover, var(--link-footer-hover, var(--footer-link, var(--link-footer, var(--text-body, var(--text-main, var(--text-primary, #111))))))))) }
.site-footer .site-footer-contact-title{margin:0 0 10px;font-size:1rem;font-weight:800;color:var(--footer-text, var(--text-footer, var(--footer-link-hover, var(--link-footer-hover, var(--footer-link, var(--link-footer, var(--text-body, var(--text-main, var(--text-primary, #111))))))))) }
.site-footer .site-footer-contact-item{color:var(--footer-muted, var(--footer-link, var(--link-footer, var(--text-muted, var(--text-secondary, var(--text-footer, var(--text-body, var(--text-main, var(--text-primary, #111)))))) )));margin:0 0 8px;display:flex;gap:10px;align-items:flex-start}
.site-footer .site-footer-icon{display:inline-flex;align-items:center;justify-content:center;opacity:0.9;flex:0 0 auto;margin-top:1px}
.site-footer .site-footer-icon svg{display:block}
.site-footer .site-footer-contact-text{display:inline-block;min-width:0}
.site-footer .site-footer-meta{border-top:1px solid var(--border-color, var(--border, rgba(0,0,0,0.12))) !important;margin-top:28px !important;padding-top:18px !important;color:var(--footer-muted, var(--footer-link, var(--link-footer, var(--text-muted, var(--text-secondary, var(--text-footer, var(--text-body, var(--text-main, var(--text-primary, #111))))))))) ) !important}


/* AUTO-PATCHED: Footer contrast safety (v5) */
.site-footer{background:var(--footer-bg, var(--bg-footer, var(--bg-card, var(--bg-surface, var(--bg-body, #fff))))) !important;color:var(--footer-text, var(--text-footer, var(--text-primary, #111))) !important}
.site-footer a{color:var(--footer-link, var(--link-footer, var(--link, var(--text-primary, #111)))) !important}
.site-footer a:hover,.site-footer a:focus-visible{color:var(--footer-link-hover, var(--link-footer-hover, var(--link-hover, var(--color-accent, var(--text-primary, #111))))) !important}
.site-footer .site-footer-contact-item{color:var(--footer-muted, var(--footer-link, var(--link-footer, var(--text-secondary, var(--text-footer, var(--text-primary, #111))))) ) !important}
.site-footer .site-footer-meta{color:var(--footer-muted, var(--footer-link, var(--link-footer, var(--text-secondary, var(--text-footer, var(--text-primary, #111))))) ) !important;border-top-color:var(--border-color, rgba(0,0,0,0.12)) !important}
.site-footer .site-footer-title,.site-footer .site-footer-col-title,.site-footer .site-footer-contact-title{color:var(--footer-text, var(--text-footer, var(--footer-link-hover, var(--link-footer-hover, var(--footer-link, var(--link-footer, var(--text-primary, #111))))))) !important}


/* AUTO-PATCHED: Footer mobile blocks centered (v5) */
@media (max-width:720px){
  .site-footer .site-footer-inner{display:grid !important;grid-template-columns:1fr !important;justify-items:center !important;align-items:center !important;gap:24px !important}
  .site-footer .site-footer-left,
  .site-footer .site-footer-right,
  .site-footer .site-footer-brand,
  .site-footer .site-footer-contact,
  .site-footer .site-footer-links,
  .site-footer .site-footer-legal,
  .site-footer .site-footer-nav,
  .site-footer .site-footer-meta{text-align:center !important}
  .site-footer .site-footer-brand{align-items:center !important}
  .site-footer .site-footer-left{display:flex !important;flex-direction:column !important;gap:18px !important;align-items:center !important;justify-self:center !important}
  .site-footer .site-footer-right{display:grid !important;grid-template-columns:1fr !important;justify-items:center !important;gap:24px !important;justify-self:center !important}
  .site-footer .site-footer-contact{margin-top:4px !important;align-items:center !important}
  .site-footer .site-footer-contact-item{justify-content:center !important}
  .site-footer .site-footer-nav,.site-footer .site-footer-links,.site-footer .site-footer-legal{align-items:center !important}
}


/* AUTO-PATCHED: Brand logo emphasis (v1) */
.site-logo{font-weight:900 !important;font-size:clamp(1.15rem,2.1vw,1.5rem) !important;letter-spacing:-0.02em !important;text-decoration:none}
.site-logo:hover,.site-logo:focus-visible{text-decoration:none}
.site-footer-title{font-weight:900 !important;font-size:clamp(1.2rem,2.6vw,1.85rem) !important;letter-spacing:-0.03em !important}
.site-logo span{font-weight:900 !important}


/* AUTO-PATCHED: Burger layering */
@media (max-width:720px){
  .site-header-inner{position:relative}
  .site-header .site-nav{position:relative;z-index:1001}
  .site-header .nav-toggle{position:relative;z-index:1002;pointer-events:auto}
}


/* AUTO-PATCHED: Burger toggle anchored (v2) */
@media (max-width:720px){
  .site-header .site-container{position:relative !important}
  .site-header .site-header-inner{position:relative !important}
  .site-header .nav-toggle,
  .site-header [data-nav-toggle]{position:absolute !important;top:50% !important;right:0 !important;left:auto !important;bottom:auto !important;margin:0 !important;transform:translateY(-50%) !important;z-index:1002 !important}
  .site-header .nav-toggle.is-open,
  .site-header [data-nav-toggle].is-open{position:absolute !important;top:50% !important;right:0 !important;left:auto !important;bottom:auto !important;margin:0 !important;transform:translateY(-50%) !important}
  .site-header .nav-toggle span{position:relative !important;top:auto !important;left:auto !important;right:auto !important;bottom:auto !important}
}


/* AUTO-PATCHED: Mobile nav dropdown positioning (v3) */
@media (max-width:720px){
  .site-header .site-header-inner{position:relative}
  .site-header .site-nav{position:static !important}
  .site-header .site-nav.is-open .site-nav-list{position:absolute !important;top:100% !important;left:0 !important;right:0 !important;z-index:1003 !important;flex-direction:column !important;background:var(--contract-surface, var(--bg-card, #fff)) !important;border:1px solid var(--contract-border, var(--border-light, rgba(0,0,0,0.12))) !important;border-top:0 !important;box-shadow:0 8px 24px rgba(0,0,0,0.12) !important;padding:12px 16px !important}
  .site-header .site-nav.is-open .site-nav-list a{padding:10px 12px !important}
}


/* AUTO-PATCHED: Mobile nav closed by default (v2) */
@media (max-width: 720px){
  .site-header .site-nav .site-nav-list{display:none !important}
  .site-header .site-nav.is-open .site-nav-list{display:flex !important}
}
/* Auto-injected: generated images */
.generated-site-image {
  max-width: 100%;
  height: auto;
  display: block;
}


/* AUTO-PATCHED: cta-group margin-bottom (v1) */
.cta-group{margin-bottom:15px !important}


/* AUTO-PATCHED: Icon sizing safety (v1) */
.icon{width:20px !important;height:20px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;flex:0 0 auto !important;vertical-align:middle !important;line-height:0 !important}
svg.icon{width:20px !important;height:20px !important}
.icon svg{width:100% !important;height:100% !important;display:block !important}
.site-footer-icon svg{width:18px !important;height:18px !important}


/* AUTO-PATCHED: bp-panel layout (v1) */
.bp-panel-grid{grid-template-columns:1fr !important}
.bp-panel{display:grid !important;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.bp-panel .panel-content{min-width:0}
.bp-panel .panel-visual{display:flex;align-items:center;gap:10px;justify-content:flex-start;white-space:nowrap}
.bp-panel .panel-visual span{font-weight:700}
@media (max-width:720px){.bp-panel{grid-template-columns:1fr !important}.bp-panel .panel-visual{white-space:normal}}


/* AUTO-PATCHED: bp-panel layout (v2) */
.bp-panel.card{display:flex !important;flex-direction:column;align-items:flex-start;gap:12px}
.bp-panel.card > *{min-width:0}
.bp-panel.card .panel-visual{display:flex;align-items:center;gap:10px;justify-content:flex-start;white-space:nowrap}
@media (max-width:720px){.bp-panel.card .panel-visual{white-space:normal}}


/* AUTO-PATCHED: bp-stats layout (v1) */
.bp-stats.grid-layout{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
@media (max-width:960px){.bp-stats.grid-layout{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media (max-width:720px){.bp-stats.grid-layout{grid-template-columns:1fr !important}}
.bp-stats > *{min-width:0}


/* AUTO-PATCHED: bp-stats layout (v2) */
.bp-stats.grid-layout.bp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
.bp-stats.grid-layout.bp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
@media (max-width:720px){.bp-stats.grid-layout.bp-grid-2,.bp-stats.grid-layout.bp-grid-3{grid-template-columns:1fr !important}}


/* AUTO-PATCHED: Blueprint hero split layout (v2) */
.bp-hero-split.grid-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) !important;gap:24px;align-items:start}
@media (max-width:960px){.bp-hero-split.grid-layout{grid-template-columns:1fr !important}}
.bp-hero-split.grid-layout > *{min-width:0}
.bp-hero-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.bp-hero-split .bp-hero-stats{grid-template-columns:1fr}


/* AUTO-PATCHED: Overflow safety */
.site-container,.container{overflow-x:clip}
.bp-hero-grid > *, .grid-layout > *, .bp-grid-2 > *, .bp-grid-3 > *, .bp-kpi-grid > *{min-width:0}
img,svg,video,canvas,iframe{max-width:100%;height:auto}


/* AUTO-PATCHED: Overflow safety (v2) */
html,body{overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
.site-container,.container{overflow-x:clip}
main > section > img, main > section > picture, main > section > video{display:block;width:100%;max-width:var(--site-max-width,1200px);height:auto;margin-left:auto;margin-right:auto}
main > section > picture > img{display:block;width:100%;max-width:100%;height:auto}
.bp-hero-grid > *, .grid-layout > *, .bp-grid-2 > *, .bp-grid-3 > *, .bp-kpi-grid > *{min-width:0}
.site-footer .site-footer-inner > *{min-width:0}
.site-footer .site-footer-right, .site-footer .site-footer-links, .site-footer .site-footer-legal{min-width:0}
.site-footer .site-footer-contact-item, .site-footer .site-footer-contact-text{min-width:0}
.site-footer .site-footer-contact-text, .site-footer .site-footer-links a, .site-footer .site-footer-legal a{overflow-wrap:anywhere;word-break:break-word}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
table,pre,code{max-width:100%;overflow-x:auto}


/* AUTO-PATCHED: Max width clamp (prevents oversized blocks) */
:root{--site-max-width:1200px}
html, body{max-width:100%;overflow-x:clip}
.site-container,.container{width:min(100%, var(--site-max-width,1200px)) !important;max-width:var(--site-max-width,1200px) !important}
.site-header,.site-footer,main,section,header,footer,nav,.card,.grid-layout,.bp-hero-grid,.bp-grid-2,.bp-grid-3,.bp-kpi-grid{max-width:100%}
img,svg,video,canvas,iframe,table,pre,code{max-width:100%}
