/* ── salary_guide.css ────────────────────────────────────────────────────────
   Manufacturing Salary Guide — premium editorial data experience
   Prefix: sg-
   Companion to css/insights-pages.css and css/insights.css
──────────────────────────────────────────────────────────────────────────── */

/* ── Variables ────────────────────────────────────────────────────────────── */

:root {
  --sg-filter-h: 80px;
  --sg-card-radius: 18px;
}

/* ── Placeholder data notice ──────────────────────────────────────────────── */

.sg-data-notice {
  background: rgba(47, 128, 237, .07);
  border-bottom: 1px solid rgba(47, 128, 237, .18);
  padding: 10px 0;
}

.sg-data-notice p {
  margin: 0;
  color: var(--navy-2);
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Hero extras ──────────────────────────────────────────────────────────── */

.sg-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.sg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .75);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.sg-pill--update {
  border-color: rgba(47, 128, 237, .45);
  color: rgba(91, 156, 255, .9);
  background: rgba(47, 128, 237, .12);
}

/* ── Filter bar ───────────────────────────────────────────────────────────── */

.sg-filter-bar {
  position: sticky;
  top: var(--header-height, 70px);
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(14, 27, 45, .06);
}

.sg-filter-inner {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
}

.sg-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.sg-filter-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sg-filter-select {
  padding: 9px 36px 9px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23536070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--navy-2);
  font-size: .86rem;
  font-weight: 600;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sg-filter-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, .12);
}

.sg-filter-select:hover { border-color: #c5cdd8; }

.sg-search-group {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sg-search-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sg-search-wrap {
  position: relative;
}

.sg-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}

.sg-search-input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--navy-2);
  font-size: .86rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sg-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, .12);
}

.sg-search-input::placeholder { color: var(--muted); }

.sg-results-count {
  align-self: flex-end;
  padding-bottom: 9px;
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Role cards ───────────────────────────────────────────────────────────── */

.sg-roles-section {
  padding: var(--ip-py, 88px) 0;
  background: var(--bg);
}

.sg-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.sg-role-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--sg-card-radius);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, box-shadow .22s ease, transform .22s ease;
  cursor: default;
}

.sg-role-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(14, 27, 45, .09);
  transform: translateY(-2px);
}

.sg-role-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sg-role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(47, 128, 237, .09);
  color: var(--blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Trend indicators ─────────────────────────────────────────────────────── */

.sg-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 3px 10px;
}

.sg-trend--up {
  color: #166534;
  background: rgba(22, 101, 52, .09);
  animation: sg-pulse-up 3s ease-in-out infinite;
}

.sg-trend--stable {
  color: var(--muted);
  background: rgba(83, 96, 112, .08);
}

.sg-trend--down {
  color: #7f1d1d;
  background: rgba(127, 29, 29, .08);
}

.sg-trend--light.sg-trend--up     { color: rgba(134, 239, 172, .9); background: rgba(22, 101, 52, .25); }
.sg-trend--light.sg-trend--stable { color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.sg-trend--light.sg-trend--down   { color: rgba(252, 165, 165, .9); background: rgba(127, 29, 29, .25); }

@keyframes sg-pulse-up {
  0%, 100% { opacity: 1; }
  50%       { opacity: .65; }
}

/* ── Pay display ──────────────────────────────────────────────────────────── */

.sg-role-title {
  margin: 0;
  color: var(--navy-2);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.sg-pay-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sg-pay-range {
  color: var(--navy-2);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.sg-pay-unit {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.sg-pay-avg-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--navy-2);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.sg-pay-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  margin: 2px 0;
}

.sg-pay-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(47, 128, 237, .5), var(--blue));
  transition: width .4s ease;
}

/* ── Role card footer ─────────────────────────────────────────────────────── */

.sg-role-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.sg-role-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sg-role-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
}

.sg-updated {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.sg-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

.sg-empty[hidden] { display: none; }

.sg-empty-reset-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Market insights ──────────────────────────────────────────────────────── */

.sg-market-section {
  padding: var(--ip-py, 88px) 0;
  background: linear-gradient(150deg, var(--navy) 0%, #18315e 100%);
  position: relative;
}

.sg-market-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(47, 128, 237, .16) 0%, transparent 55%);
  pointer-events: none;
}

.sg-market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.sg-market-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .2s ease;
}

.sg-market-card:hover { background: rgba(255, 255, 255, .09); }

.sg-market-label {
  display: block;
  color: rgba(255, 255, 255, .45);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sg-market-value {
  display: block;
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.sg-market-text {
  margin: 4px 0 6px;
  color: rgba(255, 255, 255, .58);
  font-size: .84rem;
  line-height: 1.65;
}

.sg-market-editorial {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.sg-market-editorial-col h3 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.sg-market-editorial-col p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  line-height: 1.7;
}

/* ── Category section ─────────────────────────────────────────────────────── */

.sg-category-section {
  padding: var(--ip-py, 88px) 0;
  background: var(--surface);
}

.sg-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.sg-category-card {
  padding: 26px 24px 22px;
  border-radius: var(--sg-card-radius);
  border: 1.5px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sg-category-card:hover {
  border-color: #c5cdd8;
  box-shadow: 0 8px 24px rgba(14, 27, 45, .07);
}

.sg-pressure--critical { border-top: 3px solid #1e40af; }
.sg-pressure--high     { border-top: 3px solid var(--blue); }
.sg-pressure--moderate { border-top: 3px solid #60a5fa; }
.sg-pressure--low      { border-top: 3px solid var(--line); }

.sg-category-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sg-category-name {
  margin: 0;
  color: var(--navy-2);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.sg-pressure-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.sg-pressure--critical .sg-pressure-badge { background: rgba(30, 64, 175, .10); color: #1e40af; }
.sg-pressure--high     .sg-pressure-badge { background: rgba(47, 128, 237, .10); color: var(--blue); }
.sg-pressure--moderate .sg-pressure-badge { background: rgba(96, 165, 250, .12); color: #2563eb; }
.sg-pressure--low      .sg-pressure-badge { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }

.sg-category-desc {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.65;
  flex: 1;
}

.sg-category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sg-wage-up {
  color: #166534;
  font-size: .75rem;
  font-weight: 700;
}

.sg-wage-stable {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.sg-view-roles-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: gap .2s ease;
  flex-shrink: 0;
}

.sg-view-roles-btn:hover { opacity: .75; }

/* ── Editorial resources ──────────────────────────────────────────────────── */

.sg-resources-section {
  padding: var(--ip-py, 88px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.sg-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sg-resource-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--sg-card-radius);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  transition: border-color .22s ease, box-shadow .25s ease, transform .25s ease;
}

.sg-resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1557b0, var(--blue), #5ba4ff);
  opacity: 0;
  transition: opacity .22s ease;
}

.sg-resource-card:hover {
  border-color: rgba(47, 128, 237, .28);
  box-shadow: 0 2px 8px rgba(14, 27, 45, .05), 0 16px 40px rgba(14, 27, 45, .09);
  transform: translateY(-3px);
}

.sg-resource-card:hover::before { opacity: 1; }

.sg-resource-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.sg-resource-type {
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(47, 128, 237, .22);
  background: rgba(47, 128, 237, .06);
}

.sg-resource-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(47, 128, 237, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: .85rem;
  flex-shrink: 0;
}

.sg-resource-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.sg-resource-title {
  display: block;
  color: var(--navy-2);
  font-size: .97rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.sg-resource-desc {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.62;
  flex: 1;
}

.sg-resource-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  margin-top: 10px;
  transition: gap .2s ease;
}

.sg-resource-card:hover .sg-resource-cta { gap: 8px; }

/* ── Newsletter ────────────────────────────────────────────────────────────── */

.sg-newsletter-section {
  padding: var(--ip-py, 88px) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.sg-newsletter-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 128, 237, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 128, 237, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 100% at 80% 50%, rgba(0,0,0,.5) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 50%, rgba(0,0,0,.5) 0%, transparent 70%);
}

.sg-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: 72px;
  position: relative;
}

.sg-newsletter-copy h2 {
  margin: 0 0 16px;
  color: var(--navy-2);
  font-size: clamp(1.75rem, 2.5vw, 2.9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.sg-newsletter-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.72;
}

.sg-newsletter-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sg-newsletter-bullets li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-2);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
}

.sg-newsletter-bullets li i {
  color: var(--blue);
  font-size: .72rem;
  flex-shrink: 0;
}

.sg-newsletter-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(14, 27, 45, .10);
  box-shadow: 0 4px 16px rgba(14, 27, 45, .06), 0 24px 56px rgba(14, 27, 45, .07);
  overflow: hidden;
  position: relative;
}

.sg-newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1557b0, var(--blue), #5ba4ff);
}

.sg-newsletter-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.sg-newsletter-card-label {
  font-size: .84rem;
  font-weight: 800;
  color: var(--navy-2);
  letter-spacing: -.015em;
}

.sg-newsletter-card-meta {
  font-size: .72rem;
  color: var(--muted);
}

.sg-newsletter-form {
  padding: 22px 28px 28px;
}

.sg-newsletter-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy-2);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.sg-newsletter-fields {
  display: flex;
  gap: 10px;
}

.sg-newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--navy-2);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sg-newsletter-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, .12);
}

.sg-newsletter-input::placeholder { color: var(--muted); }

.sg-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  border-radius: 10px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sg-newsletter-btn:hover {
  background: #1a6fd4;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(47, 128, 237, .32);
}

.sg-newsletter-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.55;
}

.sg-newsletter-form [data-newsletter-status] {
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: #c0392b;
  line-height: 1.5;
}

.sg-newsletter-form [data-newsletter-status][hidden] { display: none; }

/* Success state (shared .ns-success class from newsletter.js) */
.ns-success { outline: none; }

.ns-success-heading {
  display: block;
  color: var(--navy-2);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.ns-success-body {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.ns-success-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap .2s ease;
}

.ns-success-cta:hover { gap: 10px; }

/* ── Final CTA ─────────────────────────────────────────────────────────────── */

.sg-final-cta {
  position: relative;
  padding: calc(var(--ip-py, 88px) * 1.25) 0;
  background: linear-gradient(155deg, #0c1a30 0%, var(--navy) 45%, #1c3560 100%);
  overflow: hidden;
}

.sg-final-cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 18% 55%, rgba(47, 128, 237, .20) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 82% 25%, rgba(21, 87, 176, .16) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 55% 85%, rgba(47, 128, 237, .07) 0%, transparent 40%);
  pointer-events: none;
}

.sg-final-cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,.45) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,.45) 0%, transparent 70%);
}

.sg-final-cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.sg-final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 6px 18px;
  border-radius: 99px;
  border: 1px solid rgba(91, 164, 255, .22);
  background: rgba(47, 128, 237, .10);
  color: rgba(155, 200, 255, .88);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sg-final-cta-inner h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.sg-final-cta-inner > p {
  margin: 0 auto 40px;
  max-width: 56ch;
  color: rgba(255, 255, 255, .60);
  font-size: clamp(.95rem, 1.1vw, 1.12rem);
  line-height: 1.72;
}

.sg-final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.sg-final-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .36);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sg-trust-dot { opacity: .5; }

/* ── Footer bridge ─────────────────────────────────────────────────────────── */

.sg-footer-bridge {
  height: 2px;
  background: linear-gradient(90deg, #0c1a30, rgba(47, 128, 237, .35) 30%, rgba(47, 128, 237, .35) 70%, #1c3560);
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .sg-market-grid        { grid-template-columns: 1fr 1fr; }
  .sg-category-grid      { grid-template-columns: repeat(2, 1fr); }
  .sg-resources-grid     { grid-template-columns: repeat(2, 1fr); }
  .sg-newsletter-inner   { gap: 48px; }
}

@media (max-width: 900px) {
  .sg-filter-inner      { gap: 12px; }
  .sg-filter-group      { min-width: 130px; }
  .sg-market-editorial  { grid-template-columns: 1fr; gap: 24px; }
  .sg-newsletter-inner  { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .sg-filter-inner       { flex-direction: column; align-items: stretch; }
  .sg-filter-group       { min-width: 0; }
  .sg-search-group       { min-width: 0; }
  .sg-roles-grid         { grid-template-columns: 1fr; }
  .sg-market-grid        { grid-template-columns: 1fr; }
  .sg-category-grid      { grid-template-columns: 1fr; }
  .sg-resources-grid     { grid-template-columns: 1fr; }
  .sg-newsletter-fields  { flex-direction: column; }
  .sg-newsletter-btn     { width: 100%; justify-content: center; }
  .sg-final-cta-actions  { flex-direction: column; align-items: center; }
  .sg-final-cta-trust    { gap: 8px; }
}
