/* Generated from the palette in Admin -> Branding -> Theme.

   Only tokens changed from the stylesheet default appear here. */

/* default mode: system */

.sc-logo { display: block; width: 32px; height: 32px; border-radius: 6px; }
.sc-logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sc-logo-light { display: none; }
  :root:not([data-theme="light"]) .sc-logo-dark { display: block; }
}
:root[data-theme="dark"] .sc-logo-light { display: none; }
:root[data-theme="dark"] .sc-logo-dark { display: block; }

.sc-header {
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}
.sc-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sc-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--c-text);
  font-weight: 650;
  font-size: 1.02rem;
}
.sc-brand:hover { color: var(--c-brand); }
.sc-nav { display: flex; align-items: center; gap: 1.4rem; }
.sc-nav a {
  color: var(--c-text-2);
  text-decoration: none;
  font-size: 0.92rem;
}
.sc-nav a:hover { color: var(--c-brand); }
.sc-nav a:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 3px;
}
/* ⚠️ .sc-nav a.sc-cta, not !important. The rule above sets a colour on
   every .sc-nav a and the button is one of them, so it has to
   out-specify that --
   and this is a default people will copy, so it should not teach
   !important as the way to win a cascade. */
.sc-nav a.sc-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 0.5rem;
  background: var(--c-brand);
  color: var(--c-on-accent);
  font-weight: 600;
}
.sc-nav a.sc-cta:hover {
  background: var(--c-brand-strong);
  color: var(--c-on-accent);
}

/* ⚠️ The disclosure is INERT above 640px: the marker is hidden and the
   nav shows regardless of open state, so the desktop header is a plain
   row and nothing has to be opened. */
.sc-menu > summary { display: none; }
.sc-menu[open] .sc-nav, .sc-menu .sc-nav { display: flex; }

@media (max-width: 640px) {
  .sc-menu { position: relative; }
  .sc-menu > summary {
    display: block;
    list-style: none;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--c-border);
    border-radius: 0.5rem;
    font-size: 0.88rem;
    color: var(--c-text-2);
  }
  .sc-menu > summary::-webkit-details-marker { display: none; }
  .sc-menu .sc-nav { display: none; }
  .sc-menu[open] .sc-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 12rem;
    padding: 1rem;
    border: 1px solid var(--c-border);
    border-radius: 0.7rem;
    background: var(--c-surface);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--c-shadow) 18%, transparent);
    z-index: 20;
  }
}

.sc-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface-subtle);
  color: var(--c-text-2);
}
.sc-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 2.5rem;
}
.sc-foot-tagline {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  max-width: 30ch;
}
/* auto-fit, so the columns reflow without a second breakpoint */
.sc-foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1.75rem;
}
.sc-foot-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.sc-foot-col a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-text-2);
  text-decoration: none;
}
.sc-foot-col a:hover { color: var(--c-brand); }
.sc-foot-col a:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 3px;
}
.sc-footer-bar {
  border-top: 1px solid var(--c-border);
}
.sc-footer-bar p {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

@media (max-width: 720px) {
  .sc-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.25rem;
  }
}

header.soc-header { padding: 0; border-bottom: 0; }

.sc-header { position: sticky; top: 0; }
body[data-social-header-custom] > [data-social-header-custom-wrap] { display: contents; }
header.soc-header, .info-topbar { position: sticky; top: 0; }