/* SELF ENTOURAGE — SOVEREIGN GLOBAL V15
   Reverse-engineered for clarity, authority, conversion, and durable readability.
   This layer overrides former blanket-centering and locks the public funnel system. */

:root {
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --se-heading-weight: 850;
  --se-copy-dark: #24383f;
  --se-copy-light: #d7e2e5;
  --se-nav-height: 78px;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
body[data-se-page] :is(h1,h2,h3),
body[data-se-canonical-product="true"] :is(h1,h2,h3) {
  font-family: var(--font-display) !important;
  font-weight: var(--se-heading-weight) !important;
  letter-spacing: -.035em;
}

h1,
body[data-se-page] h1,
body[data-se-canonical-product="true"] h1 { line-height: .98; }

h2,
body[data-se-page] h2,
body[data-se-canonical-product="true"] h2 { line-height: 1.04; }

body[data-se-page] main,
body[data-se-canonical-product="true"] main { text-align: initial !important; }

/* One exact navigation baseline across every desktop page. */
.site-header .wrap {
  min-height: var(--se-nav-height) !important;
  display: flex !important;
  align-items: center !important;
}

.site-header .brand,
.site-header .brand-lockup,
.site-header .brand-copy,
.site-header .nav-links,
.site-header .nav-links > a,
.site-header .nav-dropdown,
.site-header .nav-dropdown > button,
.site-header .nav-butler-button {
  align-self: center !important;
}

.site-header .nav-links {
  min-height: var(--se-nav-height) !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(.72rem,1.25vw,1.2rem) !important;
}

.site-header .nav-links > a,
.site-header .nav-dropdown > button,
.site-header .nav-butler-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: .7rem .15rem !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.site-header .nav-dropdown { display: inline-flex !important; align-items: center !important; }
.site-header .nav-dropdown > button { vertical-align: middle; }
.site-header .nav-butler-button {
  padding-inline: 1rem !important;
  border: 1px solid rgba(237,203,123,.42) !important;
  border-radius: 999px !important;
  color: #edcb7b !important;
  background: rgba(8,25,31,.35) !important;
}

body[data-se-page] .section-heading { width: min(100%, 54rem); }

body[data-se-page] .section-heading,
body[data-se-page] .section-heading :is(h1,h2,h3,p,.eyebrow) {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body[data-se-page] .section-heading .eyebrow,
body[data-se-page] .page-hero .eyebrow,
body[data-se-canonical-product="true"] .breadcrumbs { justify-content: flex-start !important; }

body[data-se-page] :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.poster-pillar),
body[data-se-canonical-product="true"] :is(.step-card,.related-card,.standards-grid > div,.product-proof) {
  align-items: flex-start !important;
  text-align: left !important;
}

body[data-se-page] :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.poster-pillar) > :is(h2,h3,p,.card-action,.card-price,.catalog-price),
body[data-se-canonical-product="true"] :is(.step-card,.related-card,.standards-grid > div,.product-proof) > :is(h2,h3,p) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* Dark surfaces are always readable. */
body[data-se-page] :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.hero-aside,.decision-panel,.contact-panel) :is(h2,h3,strong),
body[data-se-canonical-product="true"] :is(.step-card,.related-card,.standards-grid > div,.price-card,.product-offer-panel,.next-step,.delivery-card) :is(h2,h3,strong) {
  color: #ffffff !important;
  opacity: 1 !important;
}

body[data-se-page] :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.hero-aside,.decision-panel,.contact-panel) p,
body[data-se-page] :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.hero-aside,.decision-panel,.contact-panel) li,
body[data-se-canonical-product="true"] :is(.step-card,.related-card,.standards-grid > div,.price-card,.product-offer-panel,.next-step,.delivery-card) :is(p,li,span) {
  color: var(--se-copy-light) !important;
  opacity: 1 !important;
}

/* Light surfaces are intentionally light, not dark cards on paper. */
body[data-se-page] .light-section :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.standards-grid > div) {
  border: 1px solid rgba(45,77,89,.18) !important;
  border-top: 4px solid #edcb7b !important;
  background: linear-gradient(180deg,#ffffff,#f5f3ec) !important;
  color: #16262c !important;
  box-shadow: 0 20px 48px rgba(8,25,31,.10) !important;
}

body[data-se-page] .light-section :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.standards-grid > div):hover {
  border-color: rgba(193,73,64,.45) !important;
  box-shadow: 0 28px 62px rgba(8,25,31,.16) !important;
}

body[data-se-page] .light-section :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.standards-grid > div) :is(h2,h3,strong) {
  color: #16323b !important;
}

body[data-se-page] .light-section :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card,.standards-grid > div) :is(p,li,span:not(.card-action)) {
  color: var(--se-copy-dark) !important;
}

body[data-se-page] .light-section :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card) .card-action,
body[data-se-page] .light-section :is(.feature-card,.step-card,.number-card,.related-card,.catalog-card) .catalog-price {
  color: #a53a34 !important;
}

body[data-se-page] .hero-aside,
body[data-se-page] .decision-panel,
body[data-se-page] .contact-panel,
body[data-se-canonical-product="true"] :is(.price-card,.product-offer-panel,.next-step,.delivery-card) { text-align: left !important; }

body[data-se-page] .hero-aside > *,
body[data-se-page] .decision-panel > *,
body[data-se-page] .contact-panel > * {
  align-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

body[data-se-page] .hero-aside :is(h2,p,ul),
body[data-se-page] .decision-panel :is(h2,p),
body[data-se-page] .contact-panel :is(h2,p) {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body[data-se-page] .hero-aside ul { display: block !important; }

body[data-se-page] .decision-panel .cta-row,
body[data-se-page] .hero-aside .cta-row,
body[data-se-canonical-product="true"] .next-actions {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Funnel architecture: proof, decision, objection, and closing surfaces. */
.funnel-proof-grid,
.funnel-choice-grid,
.funnel-process-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.funnel-proof,
.funnel-choice,
.funnel-process {
  min-width: 0;
  padding: clamp(1.25rem,2.4vw,1.8rem);
  border: 1px solid rgba(237,203,123,.22);
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(16,43,52,.98),rgba(5,18,23,.98));
  box-shadow: 0 22px 54px rgba(0,0,0,.18);
}

.funnel-proof strong,
.funnel-choice h3,
.funnel-process h3 { display: block; color: #fff !important; margin-bottom: .55rem; }
.funnel-proof p,
.funnel-choice p,
.funnel-process p { color: var(--se-copy-light) !important; margin: 0; }
.funnel-kicker { color: #edcb7b; font: 700 .78rem/1.2 "JetBrains Mono",monospace; letter-spacing: .08em; text-transform: uppercase; }
.funnel-close { border-top: 1px solid rgba(237,203,123,.22); }

body[data-se-page="home"] .poster-pillar-mark {
  left: auto !important;
  right: 1rem !important;
  transform: none !important;
}
body[data-se-page="home"] .poster-pillar h3 { margin-top: 2.75rem !important; }
body[data-se-page="home"] :is(.one-percent-panel,.crown-callout) { justify-items: stretch !important; }
body[data-se-page="home"] :is(.one-percent-copy,.crown-callout > div) { text-align: left !important; }
body[data-se-page="home"] :is(.one-percent-copy,.crown-callout) :is(h2,p,.eyebrow) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
body[data-se-page="home"] .one-percent-copy .cta-row,
body[data-se-page="home"] .crown-callout .eyebrow { justify-content: flex-start !important; }

@media (max-width: 1100px) {
  .site-header .wrap { min-height: 72px !important; }
  .site-header .nav-links { min-height: 0 !important; }
  .site-header .nav-links > a,
  .site-header .nav-dropdown > button,
  .site-header .nav-butler-button { width: min(100%,30rem) !important; padding: .8rem 1rem !important; }
}

@media (max-width: 900px) {
  .funnel-proof-grid,
  .funnel-choice-grid,
  .funnel-process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body[data-se-page] .section-heading,
  body[data-se-page] .section-heading :is(h1,h2,h3,p,.eyebrow) { text-align: left !important; }
  body[data-se-page] .page-hero .cta-row,
  body[data-se-page] .decision-panel .cta-row,
  body[data-se-canonical-product="true"] .next-actions { width: 100% !important; }
}
