/* Бейдж по ширине контента (в BS не было w-fit) */
.hero-v16-badge-wrap {
    width: fit-content;
    max-width: 100%;
}

/* Фото: квадрат 1:1 по схеме orientation: square, без «лески» от h-full во flex */
.hero-v16-media {
    width: 100%;
    max-width: 28rem;
    min-width: min(100%, 17.5rem);
    box-sizing: border-box;
}

/* Карточка вокруг фото — одна ширина в TW и BS (BS .card иначе может сжимать контент) */
.hero-v16-card-box {
    width: 100%;
    box-sizing: border-box;
}

.hero-v16-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero-v16-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-v16-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.hero-v16-offset-tr {
    margin-top: -0.5rem;
    margin-right: -0.5rem;
    width: 4rem;
    height: 4rem;
}

.hero-v16-offset-bl {
    margin-bottom: -0.5rem;
    margin-left: -0.5rem;
    width: 3rem;
    height: 3rem;
}

.hero-v16-orb-lg {
    width: 5rem;
    height: 5rem;
    animation-duration: 2s;
}

.hero-v16-orb-md {
    width: 4rem;
    height: 4rem;
    animation-duration: 8s;
}

.hero-v16-orb-sm {
    width: 3rem;
    height: 3rem;
    animation-duration: 2.5s;
}

.hero-v16-connector {
    width: 5rem;
    height: 0.25rem;
}

.hero-v16-anim-a {
    animation-duration: 1.5s;
    animation-delay: 0.3s;
}

.hero-v16-anim-b {
    animation-duration: 1.5s;
    animation-delay: 0.6s;
}

.hero-v16-float-a {
    animation-duration: 3s;
    left: 25%;
    width: 2rem;
    height: 2rem;
}

.hero-v16-float-b {
    animation-duration: 2s;
    right: 25%;
    width: 1.5rem;
    height: 1.5rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.stats__icon-dim {
  width: 4rem;
  height: 4rem;
}

.stats__decor-corner-ring {
  bottom: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
}

.stats__decor-corner-dot {
  bottom: 1rem;
  left: 1rem;
  width: 0.75rem;
  height: 0.75rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}

.stats-gradient-overlay-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-gradient-overlay-hover {
  opacity: 1;
}

.stats-icon-box-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-box-hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.1) rotate(3deg);
}

.stats-icon-inner-hover {
  transition: transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-inner-hover {
  transform: scale(1.1);
}

.stats-decor-ring-hover {
  opacity: 0.2;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-ring-hover {
  opacity: 0.4;
  transform: scale(1.5);
}

.stats-decor-dot-hover {
  opacity: 0.3;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-dot-hover {
  opacity: 0.6;
  transform: scale(1.25);
}

.services-sidebar__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.header-ui__box-10 {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    flex-shrink: 0;
}

/* Hover — поза @sem; TW і BS */
.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}



.manuscript-bodycopy__decor-1 {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-2 {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-3 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-4 {
    position: absolute;
    bottom: 1.5rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__title-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__rule-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.stream-timeline-axis__wrap {
    max-width: 64rem;
}

.stream-timeline-axis__date-ring {
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Линия таймлайна — под кругами (без цветов в правилах z-index) */
.stream-timeline-axis__spine {
    left: 50%;
    width: 1px;
    z-index: 0;
}

.stream-timeline-axis__lane {
    width: 41.666667%;
}

.stream-timeline-axis__hub {
    width: 16.666667%;
}

.stream-timeline-axis__date-stack {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Decor geometry (layout only; colors stay in Blade / @sem) */
.leaflet-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    left: 0;
    transform: translate(-4rem, -4rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 12rem;
    bottom: 0;
    right: 0;
    transform: translate(6rem, 6rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-3 {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    right: 0;
    transform: translate(3rem, -50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-4 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    left: 25%;
    bottom: 25%;
    transform: translate(-50%, 50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__divider-bar {
    height: 0.25rem;
}

.leaflet-document__title-trail { margin-bottom: 2rem; }

.leaflet-document__rule-trail { margin-bottom: 3rem; }

.leaflet-document__wrapper-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}


.copy-document__decor-1 {
    position: absolute;
    top: 1rem;
    left: 2rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-2 {
    position: absolute;
    top: 2rem;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-3 {
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-4 {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__heading-row-trail { margin-bottom: 2rem; }

.copy-document__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

/* Layout-only hover; theme colors stay in Tailwind/Bootstrap via Blade */
.pricing-card-hover {
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .pricing-card-hover:hover {
    box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
  }

  .dark .pricing-card-hover:hover {
    box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
  }
}

@media (hover: hover) and (min-width: 640px) {
  .pricing-card-hover:hover {
    transform: translateY(-3px) scale(1.02);
  }
}

.pricing-card-hover:hover .pricing__btn {
  transform: scale(1.02);
}

.pricing__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* glossary ledger — icon tile sizes, footnote icon size, hover motion (matches stats-style sections) */
.glossary-ledger__icon-cell,
.glossary-ledger__index {
    width: 3.25rem;
    height: 3.25rem;
}

.glossary-ledger__index {
    min-width: 3.25rem;
}

.glossary-ledger__icon-fa {
    font-size: 1.25rem;
    line-height: 1;
}

.glossary-ledger__note-wrap {
    width: 3.5rem;
    height: 3.5rem;
}

.glossary-ledger__note-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.glossary-ledger__accent {
    height: 0.28rem;
}

.glossary-ledger__card {
    transition: transform 0.28s ease;
}

.glossary-ledger__card:hover .glossary-ledger__accent {
    transform: scaleX(1);
}

.glossary-ledger .glossary-ledger__accent {
    transform: scaleX(0.88);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.inbox-twin-panes__split {
    max-width: 64rem;
}

.inbox-twin-panes__halo {
    width: 10rem;
    height: 10rem;
}

