#logo {
  height: 32px;
  width: auto;
  margin-right: 0.5rem;
}

/* ---------- Brand colours (whole site) and the landing page ---------- */

:root {
  --st-brand-rgb: 6, 115, 203;         /* the wordmark blue from the logo; never themed */
  --st-brand-deep-rgb: 5, 88, 156;
  --st-accent-rgb: var(--st-brand-rgb);
  --st-accent-deep-rgb: var(--st-brand-deep-rgb);
  --st-accent: rgb(var(--st-accent-rgb));
  --st-accent-deep: rgb(var(--st-accent-deep-rgb));
  --st-accent-soft: rgba(var(--st-accent-rgb), 0.10);
  --st-border: rgba(0, 0, 0, 0.10);
}

[data-bs-theme="dark"] {
  --st-accent-rgb: 61, 151, 230;       /* the same hue, lifted for contrast on dark */
  --st-accent-deep-rgb: 140, 196, 245;
  --st-accent-soft: rgba(var(--st-accent-rgb), 0.16);
  --st-border: rgba(255, 255, 255, 0.12);
}

/* Every blue the template draws comes from these Bootstrap variables, so redirecting
   them here is what makes the whole site use the wordmark blue rather than #0d6efd. */
:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
  --bs-primary: var(--st-accent);
  --bs-primary-rgb: var(--st-accent-rgb);
  --bs-link-color: var(--st-accent);
  --bs-link-hover-color: var(--st-accent-deep);
  --bs-link-color-rgb: var(--st-accent-rgb);
  --bs-link-hover-color-rgb: var(--st-accent-deep-rgb);
}
body[data-layout="landing"] .actionbar { display: none; }
body[data-layout="landing"] article { max-width: none; overflow-x: hidden; }
body[data-layout="landing"] .st-section .row > [class*="col-"] { min-width: 0; }

.st-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.st-hero .st-logo { width: 200px; max-width: 60vw; height: auto; margin-bottom: 1.25rem; }
.st-hero h1 {
  overflow-wrap: anywhere;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 auto 1rem;
  max-width: 22ch;
  line-height: 1.15;
}
.st-hero h1 em { font-style: normal; color: var(--st-accent); }
.st-hero p.st-lead {
  padding: 0 0.5rem;
  font-size: 1.15rem;
  max-width: 62ch;
  margin: 0 auto 1.5rem;
  opacity: 0.85;
}
.st-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.st-cta .btn { padding: 0.65rem 1.4rem; font-weight: 600; }
/* The filled button carries white text, so it stays on the brand blue in both themes. */
.st-cta .btn-primary {
  --bs-btn-bg: rgb(var(--st-brand-rgb)); --bs-btn-border-color: rgb(var(--st-brand-rgb));
  --bs-btn-hover-bg: rgb(var(--st-brand-deep-rgb)); --bs-btn-hover-border-color: rgb(var(--st-brand-deep-rgb));
  --bs-btn-active-bg: rgb(var(--st-brand-deep-rgb)); --bs-btn-active-border-color: rgb(var(--st-brand-deep-rgb));
}
/* The anchors are flex items around an inline image, so without inline-flex they
   carry the line box's descender space and sit lower than an unwrapped badge. */
.st-badges { margin-top: 1.25rem; display: flex; gap: 0.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.st-badges a { display: inline-flex; }
.st-badges img { width: auto; height: 20px; }

.st-section { padding: 2.5rem 0 1rem; }
.st-basics { padding-bottom: 0; }
.st-basics .st-basics-lead { text-align: center; font-weight: 600; opacity: 0.75; margin-bottom: 1.75rem; }
.st-basic { border-left: 3px solid var(--st-accent); padding-left: 1rem; height: 100%; }
.st-basic h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; }
.st-basic p { font-size: 0.95rem; opacity: 0.85; margin: 0; }

.st-section > h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  border: 0;
}
.st-section > p.st-sub { text-align: center; opacity: 0.8; max-width: 60ch; margin: 0 auto 1.75rem; }

.st-door {
  border: 1px solid var(--st-border);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bs-body-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.st-door:hover { border-color: var(--st-accent); box-shadow: 0 6px 24px var(--st-accent-soft); }
.st-door .st-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--st-accent-soft); color: var(--st-accent); font-size: 1.35rem;
  margin-bottom: 0.9rem;
}
.st-door h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.25rem; }
.st-door p.st-who { font-size: 0.95rem; opacity: 0.8; margin-bottom: 0.9rem; }
.st-door pre { margin: 0 0 0.75rem; font-size: 0.74rem; max-width: 100%; overflow-x: auto; }
.st-door pre code { white-space: pre; }
.st-door .st-not { font-size: 0.9rem; margin: 0.25rem 0 1rem; }
.st-door .st-not strong { color: var(--st-accent-deep); }
.st-door .st-go { margin-top: auto; font-weight: 600; }

.st-grow { text-align: center; }
.st-grow img, .st-grow svg { width: 100%; max-width: 980px; height: auto; color: var(--bs-body-color); }
.st-grow figcaption { font-size: 0.9rem; opacity: 0.75; margin-top: 0.5rem; }

.st-feature {
  border-left: 3px solid var(--st-accent);
  padding: 0.25rem 0 0.25rem 1rem;
  height: 100%;
}
.st-feature h4 { font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem; }
.st-feature p { font-size: 0.92rem; margin: 0; opacity: 0.85; }

.st-numbers { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.st-number {
  flex: 1 1 200px; max-width: 260px;
  border: 1px solid var(--st-border); border-radius: 14px; padding: 1.25rem; text-align: center;
}
.st-number .st-big { font-size: 2rem; font-weight: 800; color: var(--st-accent); line-height: 1.1; }
.st-number .st-what { font-size: 0.9rem; opacity: 0.85; margin-top: 0.35rem; }

.st-compare table { width: 100%; font-size: 0.92rem; }
.st-compare td:first-child { white-space: nowrap; font-weight: 600; }
.st-compare .st-note { font-size: 0.85rem; opacity: 0.75; text-align: center; margin-top: 0.5rem; }

.st-final {
  text-align: center; padding: 3rem 1rem;
  border: 1px solid var(--st-border); border-radius: 18px;
  background: linear-gradient(135deg, var(--st-accent-soft), transparent 70%);
  margin: 2rem 0 3rem;
}
.st-final h2 { border: 0; font-weight: 700; }

@media (max-width: 767.98px) {
  .st-hero { padding-top: 2rem; }
  .st-door { margin-bottom: 1rem; }
}

/* ---------- Footer, legal links and the analytics consent banner ---------- */

.st-footer { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; }
.st-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.st-legal a,
.st-legal button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: none; opacity: 0.75; cursor: pointer; }
.st-legal a:hover,
.st-legal button:hover { opacity: 1; text-decoration: underline; }

/* [hidden] loses to the author display below, so it needs saying explicitly. */
#stratara-consent-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 1080; display: flex; justify-content: center; padding: 1rem; }
#stratara-consent-banner[hidden] { display: none; }
.st-consent-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 48rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: var(--bs-body-bg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}
.st-consent-panel p { margin: 0; font-size: 0.925rem; line-height: 1.6; }
.st-consent-actions { display: flex; gap: 0.5rem; }
.st-consent-actions .btn { flex: 1; }
.st-consent-actions .btn-primary {
  --bs-btn-bg: rgb(var(--st-brand-rgb)); --bs-btn-border-color: rgb(var(--st-brand-rgb));
  --bs-btn-hover-bg: rgb(var(--st-brand-deep-rgb)); --bs-btn-hover-border-color: rgb(var(--st-brand-deep-rgb));
  --bs-btn-active-bg: rgb(var(--st-brand-deep-rgb)); --bs-btn-active-border-color: rgb(var(--st-brand-deep-rgb));
}

@media (min-width: 40rem) {
  .st-consent-panel { flex-direction: row; align-items: center; }
  .st-consent-panel p { flex-grow: 1; }
  .st-consent-actions .btn { flex: none; }
}
