:root {
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --success: #22c55e;
  --ink: #0b1220;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 10px 30px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 18px 45px rgba(2, 6, 23, 0.10);
  --radius: 16px;
}

html {
  scroll-padding-top: 88px;
}

.section-anchor {
  scroll-margin-top: 88px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 10% 12%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(124, 58, 237, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff, var(--bg) 55%, #ffffff);
}

/* ------------------------------------------------------------
   Embed checkout (dark, clean)
   Scoped to avoid changing the marketing site.
------------------------------------------------------------ */

.embed-dark {
  /* Reuse existing palette values (no new brand colors). */
  --bg: var(--ink);
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --shadow-sm: 0 18px 55px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.embed-dark body,
body.embed-dark {
  color-scheme: dark;
  color: #f8fafc;
  background:
    radial-gradient(1100px 600px at 12% 10%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(900px 520px at 86% 12%, rgba(124, 58, 237, 0.18), transparent 62%),
    linear-gradient(180deg, var(--ink), var(--ink));
}

body.embed-dark .text-secondary,
body.embed-dark .form-text,
body.embed-dark .small {
  color: rgba(248, 250, 252, 0.72) !important;
}

body.embed-dark .embed-checkout {
  padding-top: 28px;
  padding-bottom: 28px;
}

body.embed-dark .embed-checkout__top {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-sm);
}

body.embed-dark .embed-checkout__logo {
  border-radius: 10px;
  width: 96px;
  height: 96px;
  object-fit: contain;
  object-position: center;
}

body.embed-dark .embed-checkout__kicker {
  font-size: .85rem;
  color: rgba(248, 250, 252, 0.72);
}

body.embed-dark .embed-checkout__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.65rem;
}

body.embed-dark .embed-checkout__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.embed-dark .embed-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.80);
  font-size: .85rem;
  font-weight: 600;
}

body.embed-dark .embed-card {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--card) !important;
  box-shadow: var(--shadow-md);
}

/* Bootstrap cards can reset text color via --bs-body-color; force light text in dark embed */
body.embed-dark .card,
body.embed-dark .card-body {
  color: rgba(248, 250, 252, 0.92);
}

body.embed-dark .form-label {
  font-weight: 700;
  color: rgba(248, 250, 252, 0.86);
}

body.embed-dark .form-control,
body.embed-dark .form-select {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(248, 250, 252, 0.92) !important;
  border-radius: 12px;
}

/* Ensure native select dropdown options keep contrast on dark embed (browser/OS dependent) */
body.embed-dark .form-select option,
body.embed-dark .form-select optgroup {
  background-color: var(--ink);
  color: rgba(248, 250, 252, 0.92);
}

body.embed-dark .form-control::placeholder {
  color: rgba(248, 250, 252, 0.55);
}

body.embed-dark .form-control:focus,
body.embed-dark .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.18) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
}

body.embed-dark .btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 16px 45px rgba(37, 99, 235, 0.25);
}

body.embed-dark .btn-primary:hover {
  filter: brightness(1.05);
}

body.embed-dark .embed-checkout__fineprint,
body.embed-dark .embed-checkout__note {
  color: rgba(248, 250, 252, 0.70);
  font-size: .9rem;
}

body.embed-dark .embed-card__label {
  color: rgba(248, 250, 252, 0.65);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.embed-dark .embed-card__title {
  font-size: 1.15rem;
  font-weight: 900;
}

body.embed-dark .embed-price {
  font-size: 1.35rem;
  font-weight: 900;
}

body.embed-dark .embed-card__muted {
  color: rgba(248, 250, 252, 0.70);
  font-size: .9rem;
}

body.embed-dark .embed-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.10);
}

body.embed-dark .embed-steps {
  display: grid;
  gap: 10px;
}

body.embed-dark .embed-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 250, 252, 0.86);
  font-weight: 600;
}

body.embed-dark .embed-step__n {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.86);
  font-weight: 800;
  font-size: .85rem;
}

body.embed-dark footer {
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
}

body.embed-dark footer a {
  color: rgba(248, 250, 252, 0.86);
}

body.embed-dark footer a:hover {
  color: #ffffff;
}

a { text-decoration: none; }

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.82) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: .2px;
}

.navbar .nav-link {
  color: rgba(15, 23, 42, 0.82);
}

.navbar .nav-link:hover {
  color: rgba(15, 23, 42, 1);
}

.badge-soft {
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.section-muted {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(850px 420px at 90% 0%, rgba(124, 58, 237, 0.06), transparent 60%),
    rgba(248, 250, 252, 0.8);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

/* Marketing: Recursos section background image */
#recursos.section-muted {
  background-image:
    linear-gradient(180deg,
      rgba(248, 250, 252, 0.92) 0%,
      rgba(248, 250, 252, 0.86) 45%,
      rgba(248, 250, 252, 0.78) 100%
    ),
    url('/public/Risk.png');
  /* 1st layer (gradient): cover; 2nd layer (image): keep a reasonable natural size */
  background-size: cover, 520px auto;
  background-position: center, left center;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 992px) {
  #recursos.section-muted {
    background-size: cover, 360px auto;
  }
}

@media (max-width: 576px) {
  #recursos.section-muted {
    background-size: cover, 260px auto;
  }
}

/* Marketing: Produto section background image (right-aligned) */
#produto.section-anchor {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.88) 45%,
      rgba(255, 255, 255, 0.82) 100%
    ),
    url('/public/Costs.png');
  background-size: cover, 520px auto;
  background-position: center, right center;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 992px) {
  #produto.section-anchor {
    background-size: cover, 360px auto;
  }
}

@media (max-width: 576px) {
  #produto.section-anchor {
    background-size: cover, 260px auto;
  }
}

/* Marketing: Checkout section background image (left-aligned) */
#checkout.section-anchor {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.88) 45%,
      rgba(255, 255, 255, 0.82) 100%
    ),
    url('/public/sched.png');
  background-size: cover, 600px auto;
  background-position: center, left center;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 992px) {
  #checkout.section-anchor {
    background-size: cover, 420px auto;
  }
}

@media (max-width: 576px) {
  #checkout.section-anchor {
    background-size: cover, 300px auto;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background-image:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.88) 46%,
      rgba(255, 255, 255, 0.70) 100%
    ),
    url('/public/PM.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.hero-inner {
  padding-block: 78px;
}

.hero-title {
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-subtitle {
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.20);
  background: rgba(37, 99, 235, 0.08);
  color: rgba(15, 23, 42, 0.86);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 14px;
}

.trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trustitem {
  font-size: .9rem;
  color: rgba(15, 23, 42, 0.72);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 8px 10px;
  border-radius: 999px;
}

  .hero-card {
    border-radius: var(--radius);
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-sm);
    padding: 18px;
  }

  .hero-card-head {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 14px;
  }

  .hero-card-kicker {
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(15, 23, 42, 0.6);
  }

  .hero-card-title {
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: 2px;
  }

  .feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 10px;
  }

  .feature-bullet {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    margin-right: 8px;
    background: rgba(34, 197, 94, 0.14);
    color: #16a34a;
    font-weight: 900;
    font-size: .9rem;
  }

  .hero-card-foot {
    margin-top: 16px;
  }

  .card {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
  }

  .feature-card {
    background: rgba(255, 255, 255, 0.82);
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.18);
    font-size: 22px;
  }

  .lift-card {
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .lift-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }

  .mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(124, 58, 237, 0.10);
    border: 1px solid rgba(124, 58, 237, 0.16);
    font-size: 20px;
  }

  .step-card {
    border-radius: var(--radius);
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
    padding: 18px;
  }

  .step-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.20);
    color: #16a34a;
    font-weight: 900;
  }

  .planos-hero {
    border-radius: var(--radius);
    padding: 28px;
    background:
      radial-gradient(700px 380px at 10% 20%, rgba(37, 99, 235, 0.14), transparent 62%),
      radial-gradient(700px 380px at 95% 0%, rgba(124, 58, 237, 0.12), transparent 62%),
      rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 35px rgba(2, 6, 23, 0.06);
  }

  .planos-hero-title {
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -0.01em;
  }

  .planos-hero-subtitle {
    color: rgba(15, 23, 42, 0.72);
  }

  .pricing-card {
    height: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
    display: flex;
    flex-direction: column;
  }

  /* Pricing cards (v2) — layout inspired by the design mock */
  .pricing-card--v2 {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.10);
    padding: 16px;
    overflow: hidden;
    position: relative;
  }

  .pricing-card--v2:hover {
    transform: translateY(-2px);
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 22px 55px rgba(2, 6, 23, 0.12);
  }

  .pricing-card--v2 .pricing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
  }

  .plan-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.9);
    color: rgba(15, 23, 42, 0.78);
    white-space: nowrap;
  }

  .plan-tag--success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.28);
    color: #166534;
  }

  .plan-tag--info {
    background: rgba(37, 99, 235, 0.10);
    border-color: rgba(37, 99, 235, 0.28);
    color: #1d4ed8;
  }

  .plan-tag--brand {
    background: rgba(59, 130, 246, 0.10);
    border-color: rgba(59, 130, 246, 0.26);
    color: #1d4ed8;
  }

  .plan-tag--purple {
    background: rgba(124, 58, 237, 0.10);
    border-color: rgba(124, 58, 237, 0.26);
    color: #6d28d9;
  }

  .plan-tag--featured {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.30);
    color: #c2410c;
  }

  .plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(90deg, #fb923c, #f97316);
    border: 1px solid rgba(249, 115, 22, 0.35);
    white-space: nowrap;
  }

  .pricing-card--v2 .pricing-main {
    padding: 4px 6px 0;
    text-align: center;
  }

  .pricing-card--v2 .plan-name {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
  }

  .pricing-card--v2 .plan-price {
    margin-top: 10px;
  }

  .pricing-card--v2 .plan-price-main {
    font-weight: 900;
    font-size: 2.05rem;
    letter-spacing: -0.03em;
    color: #1d4ed8;
  }

  .pricing-card--v2.pricing-card--featured .plan-price-main {
    color: #1d4ed8;
  }

  .pricing-card--v2[data-plan-id="start"] .plan-price-main {
    color: #166534;
  }

  .pricing-card--v2 .plan-installments {
    margin-top: 2px;
    font-size: .85rem;
    color: rgba(15, 23, 42, 0.62);
    min-height: 18px;
  }

  .plan-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.9);
    font-size: .8rem;
    color: rgba(15, 23, 42, 0.70);
  }

  .plan-features {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
    text-align: left;
  }

  .plan-check {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    margin-right: 8px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-weight: 900;
    font-size: .85rem;
  }

  .pricing-card--v2[data-plan-id="start"] .plan-check {
    background: rgba(34, 197, 94, 0.14);
    color: #16a34a;
  }

  .pricing-card--v2.pricing-card--featured {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.18);
  }

  .pricing-card--v2 .pricing-cta {
    margin-top: auto;
    padding: 14px 6px 2px;
  }

  .btn-plan {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 900;
    border: 1px solid rgba(15, 23, 42, 0.10);
  }

  .btn-plan--success {
    background: linear-gradient(90deg, #16a34a, #22c55e);
    color: #fff;
    border-color: rgba(22, 163, 74, 0.35);
  }

  .btn-plan--info {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #fff;
    border-color: rgba(37, 99, 235, 0.35);
  }

  .btn-plan--brand {
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #fff;
    border-color: rgba(37, 99, 235, 0.35);
  }

  .btn-plan--purple {
    background: linear-gradient(90deg, #7c3aed, #9333ea);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.35);
  }

  .btn-plan--featured {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: #fff;
    border-color: rgba(59, 130, 246, 0.35);
  }

  .btn-plan:hover {
    filter: brightness(0.98);
  }

  .plan-footnote {
    margin-top: 10px;
    font-size: .8rem;
    color: rgba(15, 23, 42, 0.60);
    text-align: center;
  }

  .pricing-card--featured {
    border-color: rgba(37, 99, 235, 0.30);
    box-shadow: var(--shadow-sm);
  }

  .pricing-card-body {
    padding: 18px;
  }

  .pricing-price {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.85);
  }

  .pricing-amount {
    font-weight: 900;
    font-size: 1.85rem;
    letter-spacing: -0.02em;
  }

  .pricing-meta {
    margin-top: 4px;
    font-size: .92rem;
  }

  .pricing-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: grid;
    gap: 10px;
  }

  .pricing-card-foot {
    margin-top: auto;
    padding: 0 18px 18px;
  }

  .sim-include {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: var(--radius);
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
    height: 100%;
  }

  .sim-include-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.20);
    display: grid;
    place-items: center;
  }

  .sim-include-check {
    font-weight: 900;
    color: #16a34a;
  }

  .accordion-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
  }

  .accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.08);
    color: rgba(15, 23, 42, 0.92);
  }

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

  .btn-primary:hover {
    filter: brightness(.96);
  }

  .btn-outline-primary {
    border-color: var(--brand);
    color: var(--brand);
  }

  .btn-outline-primary:hover {
    background: var(--brand);
    border-color: var(--brand);
  }

  .btn-outline-primary:focus,
  .btn-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, 0.22);
  }

  .btn-access {
    background: #86efac;
    border: 1px solid rgba(22, 163, 74, 0.30);
    color: #052e16;
    font-weight: 700;
  }

  .btn-access:hover {
    background: #6ee7b7;
    border-color: rgba(22, 163, 74, 0.40);
    color: #052e16;
  }

  .btn-access:focus {
    box-shadow: 0 0 0 .25rem rgba(34, 197, 94, 0.22);
  }

  @media (max-width: 991px) {
    .hero-inner { padding-block: 56px; }
  }

/* Navbar brand sizing (centralized here to avoid template edits) */
.navbar {
  /* Reduce navbar height (Bootstrap 5 variables) */
  --bs-navbar-padding-y: 0.25rem;
  --bs-navbar-brand-padding-y: 0;

  /* Brand logo sizing */
  --brand-logo-height: 45px;
}

.navbar .navbar-brand .brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.05;
  font-size: 1.35rem;

  /* High-contrast on white background */
  color: #0b2f6b; /* dark blue */
  text-shadow: none;

  /* Subtle, readable accent (Brazil colors) as an underline */
  background-image: linear-gradient(90deg, #198754 0%, #ffd43b 50%, #0d6efd 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
}

.navbar .navbar-brand .brand-icon {
  display: block;
  object-fit: contain;
}

.navbar .navbar-brand .brand-icon {
  height: var(--brand-logo-height);
  width: auto;
  max-width: min(320px, 60vw);
}

/* Slightly smaller on mobile so the navbar doesn't get too tall */
@media (max-width: 576px) {
  .navbar {
    --bs-navbar-padding-y: 0.2rem;
    --brand-logo-height: 35px;
  }

  .navbar .navbar-brand .brand-text {
    font-size: 1.15rem;
  }

  .navbar .navbar-brand .brand-icon {
    height: var(--brand-logo-height);
    width: auto;
  }
}
