/* ============================================================
   Shared homepage section patterns
   Import in any section component that uses the sticky badge rail.

   Provides: .hp-section shell, .hp-rail sticky rail,
   .hp-badge pill, .hp-heading, .hp-body
   ============================================================ */


/* ---- Section shell ----------------------------------------
   Background-color is intentionally omitted — each section
   sets its own via a single-rule override. */

.hp-section {
  position:       relative;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            4rem;      /* 64px */
  padding:        8rem 0;   /* 128px top + bottom */
  font-family:    var(--font-family-default);
  width:          100%;
  box-sizing:     border-box;
  scroll-margin-top: var(--nav-section-offset, 8rem);
}

/* Tablet (≤991px) */
@media (max-width: 991px) {
  .hp-section {
    padding: 6rem 0;
    gap:     3rem;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .hp-section {
    padding: 4rem 0;
    gap:     2rem;
  }
}


/* ---- Sticky badge rail ------------------------------------
   Absolutely positioned inside the first .container, pushed
   left via right: calc(100% - 80px).  The offset skips the
   container's left padding so the rail anchors to the content
   edge rather than the padding edge.  .container has
   position: relative so the rail is bounded to the container's
   height — badge stops when the container ends.
   Width = gutter between container (1024px) and container-wide
   (1384px): (1384 − 1024) / 2 = 180px.
   Shown only at ≥1480px — when container-wide is at max-width
   and the gutter is a fixed, predictable size. */

.hp-rail {
  display:        none;
  position:       absolute;
  right:          calc(100% - 80px);   /* 80px = container left padding */
  top:            0;
  bottom:         0;
  width:          calc((1384px - 1024px) / 2);   /* 180px */
  pointer-events: none;
}

.hp-rail__sticky {
  position:        sticky;
  top:             var(--nav-section-offset, 8rem);
  display:         flex;
  justify-content: flex-end;
  align-items:     flex-start;
  padding-right:   12px;   /* 12px gap from the container's left edge */
}

@media (min-width: 1480px) {
  .hp-rail {
    display:         flex;
    justify-content: flex-start;
    align-items:     flex-start;
  }
}


/* ---- Badge pill -------------------------------------------
   Base pill used in the sticky rail and as the inline badge.
   .hp-badge--inline controls visibility relative to breakpoint. */

.hp-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             6px;
  height:          26px;
  padding:         0 var(--spacing-3);
  background:      var(--card);
  border-radius:   var(--radius-full);
  font-size:       var(--font-size-xs);
  font-weight:     var(--font-weight-medium);
  line-height:     var(--line-height-xs);
  color:           var(--foreground);
  white-space:     nowrap;
}

/* Inline variant — shown below 1488px, hidden at and above
   (matches the rail breakpoint so there is never a gap where
   neither badge is shown) */
.hp-badge--inline {
  margin-bottom: var(--spacing-6);
}

@media (min-width: 1480px) {
  .hp-badge--inline {
    display: none;
  }
}

@media (max-width: 767px) {
  .hp-badge--inline {
    margin-bottom: 1rem;
  }
}

/* Live indicator dot (DemoSection "Live demo" badge) */
.hp-badge__dot {
  display:          block;
  width:            6px;
  height:           6px;
  border-radius:    var(--radius-full);
  background-color: var(--primary);
  flex-shrink:      0;
}


/* ---- Section heading --------------------------------------
   36px regular weight; .fw-bold inside uses bold. */

.hp-heading {
  margin:      0;
  font-size:   2.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 2.5rem;
  color:       var(--foreground);
}



/* ---- Section body text ------------------------------------
   20px regular — used in header intro blocks. */

.hp-body {
  margin:      0;
  font-size:   1.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.75rem;
  color:       var(--foreground);
}

@media (max-width: 767px) {
  .hp-heading {
    font-size:   1.875rem;  /* 30px */
    line-height: 2.25rem;   /* 36px */
  }

  .hp-body {
    font-size:   1.125rem;  /* 18px */
    line-height: 1.75rem;   /* 28px */
  }
}


/* ---- Shared card shell ------------------------------------
   Secondary background + hairline border + 12px radius.
   Use alongside component class for layout-specific rules. */

.card-secondary {
  background:    var(--secondary);
  border:        0.5px solid var(--border);
  border-radius: 12px;
  box-sizing:    border-box;
}


/* ---- 26px number pill -------------------------------------
   Circular badge used for step numbers.
   Color (background) set per-component. */

.num-pill {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           26px;
  height:          26px;
  flex-shrink:     0;
  border-radius:   var(--radius-full);
  font-size:       var(--font-size-xs);
  font-weight:     var(--font-weight-medium);
  line-height:     1;
  color:           var(--foreground);
}


/* ---- Card typography --------------------------------------
   Base/bold title and base/regular muted body.
   Color overrides applied per-component as needed. */

.card-title {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
}

.card-body {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color:       var(--muted-foreground);
}


/* ---- Page H1 — shared display heading --------------------- */

.page-h1 {
  display:        flex;
  flex-direction: column;
  margin:         0;
  font-size:      3rem;    /* 48px */
  line-height:    1.15;
  font-weight:    var(--font-weight-light);
  color:          var(--foreground);
}

@media (max-width: 767px) {
  .page-h1 { font-size: 2.25rem; }
}

@media (max-width: 479px) {
  .page-h1 { font-size: 2rem; }
}

/* ============================================================
   HybridHeroSection — Hero for the /hybrid page

   Layout: 6-column grid inside a wide-container-equivalent wrapper.

   Wrapper (.hybrid-hero__wrap):
     padding:    0 48px   (= wide container padding)
     max-width:  1480px   (= wide container max-width)
     → content area maxes at 1384px, same as wide container

   Grid columns (100% = wrapper content, max 1384px):
     [left-outer]   clamp(0px, calc((100% - 1024px) / 2 - 32px), 148px)
     [left-bridge]  32px
     [left-inner]   1fr    ← text content lives here (col 3)
     [right-inner]  1fr    ← card starts here (col 4)
     [right-bridge] 32px
     [right-outer]  clamp(0px, calc((100% - 1024px) / 2 - 32px), 148px)

   The outer columns grow from 0 (at ≤1088px content) to 148px
   (at 1384px content). The 32px bridge columns account for the
   difference between wide-container padding (48px) and regular-
   container padding (80px). Together, outer + bridge = 180px at
   max, matching the full half-difference between the two containers.

   Text (col 3) left edge tracks regular container left at all widths.
   Card spans cols 4–6 so its right edge = wide container content right.
   No negative margins needed.
   ============================================================ */


/* ---- Outer section ---------------------------------------- */

.hybrid-hero {
  position:       relative;
  width:          100%;
  background:     var(--background);
  padding-top:    6rem;     /* 96px */
  padding-bottom: 4rem;     /* 64px */
  font-family:    var(--font-family-default);
  box-sizing:     border-box;
  overflow:       hidden;
}


/* ---- Content wrapper -------------------------------------- */
/* Regular container padding (80px) keeps the left column aligned
   with the regular container. Max-width matches the wide container
   (1480px) so the card can break out to the right. */

.hybrid-hero__wrap {
  width:      100%;
  max-width:  1480px;   /* wide container */
  padding:    0 48px;   /* wide container padding */
  margin:     0 auto;
  box-sizing: border-box;
}


/* ---- Grid ------------------------------------------------- */
/* 16px inner gap split as 8px right-padding on left col + 8px
   left-margin on card. No gap between any other columns. */

.hybrid-hero__grid {
  display:               grid;
  grid-template-columns: clamp(0px, calc((100% - 1024px) / 2 - 32px), 148px)
                         32px
                         1fr
                         1fr
                         32px
                         clamp(0px, calc((100% - 1024px) / 2 - 32px), 148px);
  column-gap:            0;
  align-items:           stretch;
}

.hybrid-hero__left  { grid-column: 3; }
.hybrid-hero__right { grid-column: 4; }


/* ---- Left column ------------------------------------------ */

.hybrid-hero__left {
  display:        flex;
  flex-direction: column;
  gap:            6rem;          /* 96px — between tabs, title-group, advantages */
  padding:        2rem 0.5rem 2rem 0;  /* 32px top/bottom, 8px right (half of 16px inner gap) */
  box-sizing:     border-box;
}


/* ---- Service-tier tabs (decorative) ----------------------- */

.hybrid-hero__tabs {
  display:     inline-flex;
  align-items: center;
  gap:         32px;
  flex-shrink: 0;
}

.hybrid-hero__tab {
  display:     flex;
  align-items: center;
  height:      36px;
  padding:     5px 0;
  gap:         0.5rem;      /* 8px */
  font-size:   var(--font-size-sm);
  line-height: var(--line-height-sm);
  white-space: nowrap;
  color:       var(--muted-foreground);
  font-weight: var(--font-weight-regular);
  box-sizing:  border-box;
}

.hybrid-hero__tab--muted {
  border-radius: 10px;
}

.hybrid-hero__tab--active {
  color:       var(--foreground);
  font-weight: var(--font-weight-medium);
}

/* ---- Headline + CTA group --------------------------------- */

.hybrid-hero__title-group {
  display:        flex;
  flex-direction: column;
  gap:            2rem;          /* 32px */
  width:          100%;
}

.hybrid-hero__cta {
  display:        flex;
  flex-direction: column;
  gap:            2.25rem;       /* 36px */
  width:          100%;
}

.hybrid-hero__body {
  margin:      0;
  font-size:   var(--font-size-lg);
  line-height: var(--line-height-lg);
  font-weight: var(--font-weight-regular);
  color:       var(--foreground);
}


.hybrid-hero__actions {
  display:     flex;
  flex-wrap:   wrap;
  gap:         var(--spacing-3); /* 12px */
  align-items: flex-start;
}


/* ---- Advantages list -------------------------------------- */

.hybrid-hero__advantages {
  display:        flex;
  flex-direction: column;
  gap:            var(--spacing-3);  /* 12px */
}

.hybrid-hero__advantage {
  display:     flex;
  align-items: center;
  gap:         6px;
}

.hybrid-hero__advantage-text {
  font-size:   var(--font-size-base);
  line-height: var(--line-height-base);
  color:       var(--foreground);
  white-space: nowrap;
}


/* ---- Right card ------------------------------------------- */

.hybrid-hero__card {
  grid-column:  4 / 7;    /* right-inner + right-bridge + right-outer (cols 4–6) */
  margin-left:  0.5rem;   /* 8px — other half of the 16px gap */
  margin-right: 0;
  display:      flex;
  flex-direction:   column;
  gap:              2.25rem;       /* 36px */
  background:       var(--card);
  border-radius:    var(--radius-lg);   /* 24px */
  padding:          3rem;              /* 48px */
  box-sizing:       border-box;
  overflow:         hidden;
}


/* ---- Venn diagram ----------------------------------------- */

.hybrid-hero__venn {
  flex:       1;
  display:    flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.hybrid-hero__venn-img {
  display:    block;
  width:      100%;
  height:     auto;
  max-height: 420px;
  object-fit: contain;
}


/* ---- Legend (100% AI / Hybrid / 100% Human) --------------- */

.hybrid-hero__legend {
  display:     flex;
  gap:         1.125rem;  /* 18px — 1.5× the 12px item gap */
  align-items: flex-start;
}

.hybrid-hero__legend-item {
  display:        flex;
  flex:           1;
  flex-direction: column;
  gap:            var(--spacing-3);
  min-width:      0;
}

.hybrid-hero__legend-head {
  display:     flex;
  align-items: center;
  gap:         var(--spacing-3);
}

.hybrid-hero__legend-title {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
  color:       var(--foreground);
}

.hybrid-hero__legend-desc {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color:       var(--muted-foreground);
}


/* ============================================================
   Small desktop (≤1280px) — legend stacks vertically
   ============================================================ */

@media (max-width: 1340px) {
  .hybrid-hero__legend {
    flex-direction: column;
    row-gap:        1.5rem;  /* 24px */
  }

  .hybrid-hero__legend-desc {
    padding-left: calc(1.625rem + var(--spacing-3));
  }
}


/* ============================================================
   Tablet (≤991px) — collapse to stacked, use regular padding
   ============================================================ */

@media (max-width: 991px) {
  .hybrid-hero {
    padding-top:    4rem;
    padding-bottom: 2rem;
  }

  .hybrid-hero__wrap {
    padding: 0 60px; /* regular container tablet padding */
  }

  .hybrid-hero__grid {
    display: block;
  }

  .hybrid-hero__left {
    gap:     4rem;
    padding: 0;
  }

  .hybrid-hero__card {
    margin-top:   2.5rem;
    margin-left:  -16px;
    margin-right: -16px;
    padding:      3rem;
  }
  .hybrid-hero__legend {
    flex-direction: row;
    column-gap:     2rem;
    justify-content: space-between;
    max-width:      600px;
    margin:         0 auto;
  }

  .hybrid-hero__legend-desc {
    padding-left: 0;
  }
}


/* ============================================================
   Mobile (≤767px)
   ============================================================ */

@media (max-width: 767px) {
  .hybrid-hero {
    padding-top:    3rem;
    padding-bottom: 0;
  }

  .hybrid-hero__wrap {
    padding: 0 2rem;
  }

  .hybrid-hero__left {
  }

  .hybrid-hero__card {
    margin-left:  -1rem; /* 2rem wrapper − 1rem bleed rule = 1rem from viewport */
    margin-right: -1rem;
    padding: 2rem;
  }

  .hybrid-hero__advantage-text {
    white-space: normal;
  }


  .hybrid-hero__legend {
    flex-direction: column;
    row-gap:        1.5rem;
    max-width:      none;
    margin:         0;
  }

  .hybrid-hero__legend-item {
    gap: 0;
  }

  .hybrid-hero__legend-desc {
    padding-left: calc(1.625rem + var(--spacing-3));
  }
  .hybrid-hero__venn{
    margin: 0 -1rem;;
  }
}


/* ============================================================
   Portrait mobile (≤479px)
   ============================================================ */

@media (max-width: 479px) {
  .hybrid-hero__tabs {
    gap: 24px;
  }
}

/* ============================================================
   Button — Component Styles
   Scheme-aware: inherits data-scheme from a parent element.
   All color tokens flip automatically in dark context.
   ============================================================ */

.btn {
  /* Layout */
  align-items:      center;
  border:           1px solid transparent;
  box-sizing:       border-box;
  cursor:           pointer;
  display:          inline-flex;
  flex-shrink:      0;
  justify-content:  center;
  overflow:         hidden;
  text-decoration:  none;
  user-select:      none;
  white-space:      nowrap;
  background-clip:  padding-box;

  /* Typography */
  font-family: var(--font-family-default);
  font-weight: var(--font-weight-medium);

  /* Transition */
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, opacity 120ms ease;
}


/* ============================================================
   Sizes
   Heights: xs=26px  sm=32px  md=36px  lg=40px
   All use font-size-sm (14px) except xs which uses font-size-xs (12px).
   ============================================================ */

.btn[data-size="xs"] {
  font-size:   var(--font-size-xs);      /* 12px */
  line-height: var(--line-height-xs);    /* 16px */
  gap:         0.25rem;                  /* 4px  */
  padding:     0.3125rem 0.75rem;        /* 5px 12px → height 26px */
  --btn-gap:   0.25rem;
}

.btn[data-size="sm"] {
  font-size:   var(--font-size-sm);      /* 14px */
  line-height: var(--line-height-sm);    /* 20px */
  gap:         0.375rem;                 /* 6px  */
  padding:     0.375rem 1rem;            /* 6px 16px → height 32px */
  --btn-gap:   0.375rem;
}

.btn[data-size="md"] {
  font-size:   var(--font-size-sm);      /* 14px */
  line-height: var(--line-height-sm);    /* 20px */
  gap:         0.375rem;                 /* 6px  */
  padding:     0.5rem 1rem;              /* 8px 16px → height 36px */
  --btn-gap:   0.375rem;
}

.btn[data-size="lg"] {
  font-size:   var(--font-size-sm);      /* 14px */
  line-height: var(--line-height-sm);    /* 20px */
  gap:         0.5rem;                   /* 8px  */
  padding:     0.625rem 1.5rem;          /* 10px 24px → height 40px */
  --btn-gap:   0.5rem;
}

.btn[data-icon-only="true"] {
  padding: 0;
}

.btn[data-size="xs"][data-icon-only="true"] {
  width:  1.625rem; /* 26px */
  height: 1.625rem;
}

.btn[data-size="sm"][data-icon-only="true"] {
  width:  2rem; /* 32px */
  height: 2rem;
}

.btn[data-size="md"][data-icon-only="true"] {
  width:  2.25rem; /* 36px */
  height: 2.25rem;
}

.btn[data-size="lg"][data-icon-only="true"] {
  width:  2.5rem; /* 40px */
  height: 2.5rem;
}


/* ============================================================
   Shapes
   ============================================================ */

.btn[data-shape="rounded"] { border-radius: var(--radius-sm);   } /* 8px  */
.btn[data-shape="round"]   { border-radius: var(--radius-full); } /* pill */


/* ============================================================
   Variants
   ============================================================ */

.btn[data-variant="primary"][data-tone="default"] {
  background-color: var(--primary);
  border-color:     var(--primary);
  color:            var(--primary-foreground);
}

.btn[data-variant="secondary"][data-tone="default"] {
  background-color: transparent;
  border-color:     var(--primary);
  color:            var(--primary);
}

.btn[data-variant="primary"][data-tone="accent"] {
  background-color: var(--accent);
  border-color:     var(--accent);
  color:            var(--foreground);
}

.btn[data-variant="secondary"][data-tone="accent"] {
  background-color: transparent;
  border-color:     var(--accent);
  color:            var(--accent);
}


.btn[data-variant="info"] {
  background-color: var(--info);
  border-color:     var(--info);
  color:            var(--info-foreground);
}

.btn[data-variant="success"] {
  background-color: var(--success);
  border-color:     var(--success);
  color:            var(--success-foreground);
}

.btn[data-variant="warning"] {
  background-color: var(--warning);
  border-color:     var(--warning);
  color:            var(--warning-foreground);
}

.btn[data-variant="destructive"] {
  background-color: var(--destructive);
  border-color:     var(--destructive);
  color:            var(--destructive-foreground);
}


/* ============================================================
   States
   ============================================================ */

/* Primary hover — 20% dark overlay on background, full opacity */
.btn[data-variant="primary"][data-tone="default"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: color-mix(in srgb, var(--primary) 80%, #282825 20%);
  border-color:     color-mix(in srgb, var(--primary) 80%, #282825 20%);
  opacity:          1;
}

.btn[data-variant="primary"][data-tone="accent"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: color-mix(in srgb, var(--accent) 80%, transparent);
  border-color:     color-mix(in srgb, var(--accent) 80%, transparent);
  opacity:          1;
}

/* Secondary hover — darker primary border + text, no fill */
.btn[data-variant="secondary"][data-tone="default"]:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: color-mix(in srgb, var(--primary) 80%, #282825 20%);
  color:        color-mix(in srgb, var(--primary) 80%, #282825 20%);
  opacity:      1;
}

.btn[data-variant="secondary"][data-tone="accent"]:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: color-mix(in srgb, var(--accent) 80%, transparent);
  color:        color-mix(in srgb, var(--accent) 80%, transparent);
  opacity:      1;
}

.btn[data-variant="info"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: color-mix(in srgb, var(--info) 80%, #282825 20%);
  border-color:     color-mix(in srgb, var(--info) 80%, #282825 20%);
  color:            var(--info-foreground);
  opacity:          1;
}

.btn[data-variant="success"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: color-mix(in srgb, var(--success) 80%, #282825 20%);
  border-color:     color-mix(in srgb, var(--success) 80%, #282825 20%);
  color:            var(--success-foreground);
  opacity:          1;
}

.btn[data-variant="warning"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: color-mix(in srgb, var(--warning) 80%, #282825 20%);
  border-color:     color-mix(in srgb, var(--warning) 80%, #282825 20%);
  color:            var(--warning-foreground);
  opacity:          1;
}

.btn[data-variant="destructive"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: color-mix(in srgb, var(--destructive) 80%, #282825 20%);
  border-color:     color-mix(in srgb, var(--destructive) 80%, #282825 20%);
  color:            var(--destructive-foreground);
  opacity:          1;
}

/* Active / pressed */
.btn:active:not(:disabled):not([aria-disabled="true"]) {
  opacity: 0.76;
}

/* Focus */
.btn:focus-visible {
  outline:        2px solid var(--ring);
  outline-offset: 2px;
}

/* Disabled */
.btn:disabled,
.btn[aria-disabled="true"] {
  cursor:         not-allowed;
  opacity:        0.4;
  pointer-events: none;
}


/* ============================================================
   Icon slot
   ============================================================ */

.btn__icon {
  align-items:     center;
  display:         inline-flex;
  flex-shrink:     0;
  justify-content: center;
}

.btn[data-size="xs"] .btn__icon:not(.btn__icon--hover-only) { height: 0.75rem; width: 0.75rem; } /* 12px */
.btn[data-size="sm"] .btn__icon:not(.btn__icon--hover-only),
.btn[data-size="md"] .btn__icon:not(.btn__icon--hover-only),
.btn[data-size="lg"] .btn__icon:not(.btn__icon--hover-only) { height: 1rem;    width: 1rem;    } /* 16px */

.btn__icon svg {
  display: block;
  height:  100%;
  width:   100%;
}


/* ============================================================
   Hover-only icon — hidden by default, slides/fades in on :hover.
   Negative margin-right cancels the flex gap when collapsed so
   the label stays flush with the padding edge.
   ============================================================ */

/* Must come after the .btn[data-size] .btn__icon rules to win specificity tie */
.btn .btn__icon--hover-only {
  min-width:    0;        /* override flex min-width: auto so item can truly collapse */
  width:        0;
  overflow:     hidden;
  opacity:      0;
  margin-right: calc(-1 * var(--btn-gap, 0.5rem));
  transition:   width 0.2s ease, opacity 0.15s ease, margin-right 0.2s ease;
}

.btn:hover:not(:disabled):not([aria-disabled="true"]) .btn__icon--hover-only {
  width:        1rem; /* sm / md / lg */
  height:       1rem;
  opacity:      1;
  margin-right: 0;
}

.btn[data-size="xs"]:hover:not(:disabled):not([aria-disabled="true"]) .btn__icon--hover-only {
  width:  0.75rem;
  height: 0.75rem;
}


/* ============================================================
   Badge slot — optional count pill inside the button
   ============================================================ */

.btn__badge {
  align-items:      center;
  background-color: var(--primary);
  border-radius:    var(--radius-full);
  color:            var(--primary-foreground);
  display:          inline-flex;
  font-size:        var(--font-size-xs);   /* 12px */
  font-weight:      var(--font-weight-medium);
  justify-content:  center;
  line-height:      var(--line-height-xs); /* 16px */
  min-width:        1.25rem;               /* 20px */
  padding:          0.125rem 0.375rem;     /* 2px 6px */
}

/* ============================================================
   IconBadge — Small circular icon container
   ============================================================ */

.icon-badge {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           1.625rem;  /* 26px */
  height:          1.625rem;
  border-radius:   var(--radius-full);
  flex-shrink:     0;
  color:           var(--foreground);
}

/* ---- Size ------------------------------------------------- */

.icon-badge[data-size="md"] { width: 2rem; height: 2rem; }  /* 32px */

@media (max-width: 767px) {
  .icon-badge[data-mobile-size="sm"] { width: 1.625rem; height: 1.625rem; }
}


/* ---- Color variants --------------------------------------- */

.icon-badge[data-variant="card"]        { background: var(--card); }
.icon-badge[data-variant="bg"]          { background: var(--background); }
.icon-badge[data-variant="teal"]        { background: color-mix(in srgb, var(--color-brand-blue-400) 40%, transparent); }
.icon-badge[data-variant="teal-active"] { background: color-mix(in srgb, var(--color-brand-blue-400) 60%, var(--background)); }

