/* i-Bina landing and shared marketing primitives */

.ib-home,
.ib-about {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 42px);
    padding: 0 0 clamp(28px, 4vw, 54px);
}

.ib-home {
    color: #0b1324;
}

.ib-home > *,
.ib-about > * {
    width: min(calc(100% - clamp(24px, 4vw, 64px)), 1320px);
    margin-inline: auto;
}

.ib-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ib-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 16px;
    padding: 7px 15px;
    border: 1px solid rgba(232, 32, 28, 0.16);
    border-radius: var(--ib-radius-full);
    background: #fff1f1;
    color: #c0151a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.ib-eyebrow--onhero {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.72);
    color: #d7191c;
}

.ib-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--ib-radius-full);
    font-family: inherit;
    font-size: var(--ib-text-sm);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--ib-transition), box-shadow var(--ib-transition), background var(--ib-transition), color var(--ib-transition), border-color var(--ib-transition);
}

.ib-btn:hover {
    text-decoration: none;
}

.ib-btn--lg {
    min-height: 52px;
    padding: 15px 28px;
    font-size: var(--ib-text-md);
}

.ib-btn--primary {
    background: linear-gradient(135deg, #ff3b36 0%, #e8201c 55%, #b90f17 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(232, 32, 28, 0.24);
}

.ib-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 30px rgba(232, 32, 28, 0.32);
}

.ib-btn--ghost,
.ib-btn--outline {
    background: rgba(255, 255, 255, 0.78);
    color: #071427;
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.ib-btn--ghost:hover:not(:disabled),
.ib-btn--outline:hover:not(:disabled) {
    color: #c0151a;
    border-color: rgba(232, 32, 28, 0.28);
    background: #fff;
}

.ib-btn--light {
    background: #fff;
    color: #c0151a;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.ib-btn--light:hover:not(:disabled) {
    transform: translateY(-2px);
    color: #a80f14;
}

.ib-btn--outline-light {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.56);
}

.ib-btn--outline-light:hover:not(:disabled) {
    color: #fff;
    background: rgba(255, 255, 255, 0.17);
    border-color: rgba(255, 255, 255, 0.82);
}

.ib-btn--secondary {
    background: #14345b;
    color: #fff;
}

.ib-btn--secondary:hover:not(:disabled) {
    color: #fff;
    background: #1e4d7b;
}

.ib-btn--danger {
    background: var(--ib-error);
    color: #fff;
}

.ib-btn--sm {
    min-height: 36px;
    padding: 8px 14px;
    font-size: var(--ib-text-xs);
}

.ib-btn--full {
    width: 100%;
}

/* ─── Full-screen hero slider (landing) ─────────────────────────────
   Breaks out of the centered content column to span the viewport edge
   to edge, and fills the height below the fixed public header. */
.ib-home > .ib-hero-slider {
    position: relative;
    width: 100%;
    margin-inline: 0;
    /* Pull flush under the fixed public header (guest article top padding removed) */
    margin-top: 0;
    /* Fill exactly one screen below the topbar; collapse the .ib-home section gap */
    height: calc(100vh - var(--ib-topbar-h));
    height: calc(100svh - var(--ib-topbar-h));
    min-height: calc(100vh - var(--ib-topbar-h));
    min-height: calc(100svh - var(--ib-topbar-h));
    margin-bottom: calc(-1 * clamp(22px, 3vw, 42px));
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #0a1626;
}

.ib-hero-slider__stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.ib-hero-slider__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: #0a1626;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.07);
    transition: opacity 1.1s ease, transform 7s ease;
    will-change: opacity, transform;
}

.ib-hero-slider__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.ib-hero-slider__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(6, 15, 28, 0.88) 0%, rgba(6, 15, 28, 0.64) 42%, rgba(6, 15, 28, 0.12) 78%, rgba(6, 15, 28, 0.3) 100%),
        linear-gradient(180deg, rgba(6, 15, 28, 0.18) 0%, transparent 28%, rgba(6, 15, 28, 0.72) 72%, rgba(6, 15, 28, 0.92) 100%);
}

.ib-hero-slider__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1400px);
    margin-inline: auto;
    padding: clamp(28px, 6vw, 64px) clamp(24px, 6vw, 88px);
    color: #fff;
}

.ib-hero-slider__title {
    margin: 14px 0 0;
    max-width: 20ch;
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.01em;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
}

.ib-hero-slider__lead {
    margin: 20px 0 0;
    max-width: 48ch;
    color: rgba(238, 244, 250, 0.92);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.ib-hero-slider__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ib-hero-slider__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.ib-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: var(--ib-text-xs);
    font-weight: 800;
    line-height: 1.2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ib-hero-chip::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #2fd39b;
    box-shadow: 0 0 0 4px rgba(47, 211, 155, 0.2);
}

.ib-hero-slider__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0 0;
    color: rgba(226, 236, 246, 0.9);
    font-size: var(--ib-text-sm);
    font-weight: 700;
}

.ib-hero-slider__trust::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #2fd39b;
    box-shadow: 0 0 0 5px rgba(47, 211, 155, 0.18);
}

.ib-hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(9, 20, 34, 0.35);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--ib-transition), border-color var(--ib-transition), transform var(--ib-transition);
}

.ib-hero-slider__arrow:hover {
    background: rgba(232, 32, 28, 0.94);
    border-color: transparent;
}

.ib-hero-slider__arrow--prev { inset-inline-start: clamp(10px, 2vw, 26px); }
.ib-hero-slider__arrow--next { inset-inline-end: clamp(10px, 2vw, 26px); }
.ib-hero-slider__arrow svg { width: 24px; height: 24px; }

.ib-hero-slider__dots {
    position: absolute;
    inset-inline-start: auto;
    inset-inline-end: clamp(70px, 7vw, 120px);
    bottom: clamp(18px, 3vw, 34px);
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.ib-hero-slider__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width var(--ib-transition), background var(--ib-transition);
}

.ib-hero-slider__dot:hover { background: rgba(255, 255, 255, 0.75); }

.ib-hero-slider__dot.is-active {
    width: 34px;
    background: #fff;
}

/* Glass secondary button — legible on the dark hero imagery */
.ib-btn--glass {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ib-btn--glass:hover:not(:disabled) {
    background: #fff;
    color: #0b1828;
    border-color: #fff;
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .ib-hero-slider__slide {
        transition: opacity 0.4s ease;
        transform: none;
    }

    .ib-hero-slider__slide.is-active { transform: none; }
}

/* ─── Latest insights (blog cards, closing full-screen section) ─── */
.ib-blogs {
    display: grid;
    gap: clamp(24px, 4vw, 44px);
    padding: clamp(38px, 5vw, 64px) clamp(20px, 4vw, 52px);
    border: 1px solid rgba(215, 225, 236, 0.9);
    border-radius: 24px;
    background:
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
}

.ib-blogs__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 32px);
}

.ib-blogs__head .ib-eyebrow {
    margin-bottom: 14px;
}

.ib-blogs__title {
    margin: 0;
    color: #071020;
    font-family: var(--ib-font-display);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: 0;
}

.ib-blogs__lead {
    max-width: 680px;
    margin: 16px 0 0;
    color: #52677f;
    font-size: clamp(0.98rem, 1.45vw, 1.1rem);
    line-height: 1.75;
}

.ib-blogs__viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b1828;
    font-size: var(--ib-text-md);
    font-weight: 700;
    white-space: nowrap;
}

.ib-blogs__viewall:hover {
    color: #c0151a;
    text-decoration: none;
}

.ib-blogs__viewall svg {
    width: 18px;
    height: 18px;
    transition: transform var(--ib-transition);
}

.ib-blogs__viewall:hover svg {
    transform: translateX(3px);
}

[dir="rtl"] .ib-blogs__viewall svg {
    transform: scaleX(-1);
}

[dir="rtl"] .ib-blogs__viewall:hover svg {
    transform: scaleX(-1) translateX(3px);
}

.ib-blogs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 34px);
    align-items: stretch;
}

.ib-blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(198, 213, 230, 0.84);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
    transition: transform var(--ib-transition), box-shadow var(--ib-transition), border-color var(--ib-transition);
}

.ib-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 32, 28, 0.24);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
}

.ib-blog-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dcecf0;
}

.ib-blog-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform var(--ib-transition);
}

.ib-blog-card:hover .ib-blog-card__media img {
    transform: scale(1.04);
}

.ib-blogs__grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
}

.ib-article-page {
    max-width: var(--ib-container);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 86px) var(--ib-container-x) clamp(72px, 9vw, 112px);
}

.ib-article-hero {
    max-width: 850px;
    margin: 0 auto clamp(34px, 5vw, 58px);
    text-align: center;
}

.ib-article-hero .ib-eyebrow {
    margin-bottom: 14px;
}

.ib-article-hero h1 {
    margin: 0;
    color: #071020;
    font-family: var(--ib-font-display);
    font-size: clamp(2.35rem, 5vw, 4.1rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: 0;
}

.ib-article-hero p:last-child {
    max-width: 720px;
    margin: 18px auto 0;
    color: #52677f;
    font-size: clamp(1rem, 1.55vw, 1.18rem);
    line-height: 1.75;
}

.ib-article-discovery {
    display: grid;
    gap: 24px;
    margin-block-end: clamp(32px, 5vw, 52px);
    padding: clamp(24px, 3.5vw, 38px);
    border: 1px solid rgba(198, 213, 230, 0.88);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 32, 28, 0.08), transparent 34%),
        linear-gradient(135deg, #fff 0%, #f6f9fc 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

[dir="rtl"] .ib-article-discovery {
    background:
        radial-gradient(circle at 0 0%, rgba(232, 32, 28, 0.08), transparent 34%),
        linear-gradient(225deg, #fff 0%, #f6f9fc 100%);
}

.ib-article-discovery__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
    align-items: end;
    gap: 24px;
}

.ib-article-discovery__heading .ib-eyebrow {
    margin-block-end: 9px;
}

.ib-article-discovery__heading h2 {
    margin: 0;
    color: #071020;
    font-family: var(--ib-font-display);
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.ib-article-search {
    position: relative;
    display: flex;
    align-items: center;
}

.ib-article-search svg {
    position: absolute;
    inset-inline-start: 16px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #60748d;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    pointer-events: none;
}

.ib-article-search input {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px 12px 48px;
    border: 1px solid rgba(183, 202, 221, 0.95);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    color: #152a43;
    outline: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
    transition: border-color var(--ib-transition), box-shadow var(--ib-transition);
}

[dir="rtl"] .ib-article-search input {
    padding: 12px 48px 12px 16px;
}

.ib-article-search input::placeholder {
    color: #7a8ba0;
}

.ib-article-search input:focus {
    border-color: rgba(232, 32, 28, 0.65);
    box-shadow: 0 0 0 4px rgba(232, 32, 28, 0.1);
}

.ib-article-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ib-article-filter {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(183, 202, 221, 0.92);
    border-radius: 999px;
    background: #fff;
    color: #486079;
    font-size: var(--ib-text-sm);
    font-weight: 850;
    line-height: 1.2;
    transition: border-color var(--ib-transition), background var(--ib-transition), color var(--ib-transition), transform var(--ib-transition);
}

.ib-article-filter:hover {
    transform: translateY(-1px);
    border-color: rgba(232, 32, 28, 0.38);
    color: #b8151a;
}

.ib-article-filter.is-active {
    border-color: #c0151a;
    background: #c0151a;
    color: #fff;
    box-shadow: 0 9px 20px rgba(192, 21, 26, 0.2);
}

.ib-article-results-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    color: #6a7d92;
    font-size: var(--ib-text-sm);
}

.ib-article-results-head p {
    margin: 0;
    color: #243b55;
    font-weight: 900;
}

.ib-article-results-head span {
    text-align: end;
}

.ib-article-empty {
    padding: clamp(42px, 7vw, 76px) 24px;
    border: 1px dashed rgba(183, 202, 221, 0.95);
    border-radius: 20px;
    background: #f8fafc;
    text-align: center;
}

.ib-article-empty h2 {
    margin: 0;
    color: #071020;
    font-family: var(--ib-font-display);
    font-weight: 900;
}

.ib-article-empty p {
    max-width: 52ch;
    margin: 13px auto 22px;
    color: #52677f;
    line-height: 1.7;
}

.ib-article-empty button {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #c0151a;
    color: #fff;
    font-weight: 900;
}

.ib-article-list {
    display: grid;
    gap: clamp(28px, 4vw, 42px);
}

.ib-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 34px);
    align-items: stretch;
}

.ib-article-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ib-article-pager span {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 213, 230, 0.9);
    border-radius: 8px;
    color: #52677f;
    font-weight: 900;
}

.ib-article-pager .is-active {
    border-color: #c0151a;
    background: #c0151a;
    color: #fff;
}

.ib-blog-card__category {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-start: 16px;
    max-width: calc(100% - 32px);
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #c0151a;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ib-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px clamp(20px, 2vw, 28px) 0;
    color: #60748d;
    font-size: var(--ib-text-xs);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ib-blog-card__meta > * + *::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-inline-end: 10px;
    border-radius: 999px;
    background: #e8201c;
    vertical-align: middle;
}

.ib-blog-card__title {
    margin: 13px 0 0;
    padding-inline: clamp(20px, 2vw, 28px);
    color: #071020;
    font-size: clamp(1.1rem, 1.55vw, 1.32rem);
    font-weight: 900;
    line-height: 1.26;
}

.ib-blog-card__title a {
    color: inherit;
}

.ib-blog-card__title a:hover {
    color: #c0151a;
    text-decoration: none;
}

.ib-blog-card__excerpt {
    margin: 13px 0 0;
    padding-inline: clamp(20px, 2vw, 28px);
    color: #4b6180;
    font-size: var(--ib-text-sm);
    line-height: 1.7;
}

.ib-blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c0151a;
    font-weight: 900;
    text-decoration: none;
}

.ib-blog-card__more:hover {
    color: #e8201c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ib-blog-card__more span[aria-hidden="true"] {
    display: inline-block;
    transition: transform var(--ib-transition);
}

.ib-blog-card__more:hover span[aria-hidden="true"] {
    transform: translateX(3px);
}

[dir="rtl"] .ib-blog-card__more span[aria-hidden="true"] {
    transform: scaleX(-1);
}

[dir="rtl"] .ib-blog-card__more:hover span[aria-hidden="true"] {
    transform: translateX(-3px) scaleX(-1);
}

.ib-blog-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: auto 0 0;
    padding: 20px clamp(20px, 2vw, 28px) 24px;
    color: #64748b;
    font-size: var(--ib-text-sm);
    font-weight: 700;
}

.ib-blog-card__foot > span:first-child {
    max-width: 62%;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .ib-blogs__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ib-blogs__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ib-blogs__grid--home { grid-template-columns: 1fr 1fr; }

    .ib-article-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ib-article-discovery {
        padding: 22px 20px;
    }

    .ib-article-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-block-end: 8px;
        scroll-snap-type: inline proximity;
        scrollbar-width: none;
    }

    .ib-article-filter {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .ib-article-filters::-webkit-scrollbar {
        display: none;
    }

    .ib-article-results-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .ib-article-results-head span {
        text-align: start;
    }

    .ib-blogs {
        min-height: 0;
    }

    .ib-blogs__grid {
        grid-template-columns: 1fr;
    }

    .ib-blogs__grid--home,
    .ib-article-grid {
        grid-template-columns: 1fr;
    }

    .ib-blog-card__foot {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ─── Role feature card (photo + floating chips | copy + Learn More) ─── */
/* Article detail */
.ib-article-detail-page {
    --ib-article-ink: #071020;
    --ib-article-copy: #354b66;
    --ib-article-muted: #65778d;
    --ib-article-line: rgba(198, 213, 230, 0.88);
    width: min(100%, 1320px);
    margin-inline: auto;
    padding: clamp(28px, 4vw, 56px) clamp(2px, 1vw, 14px) clamp(72px, 8vw, 112px);
    color: var(--ib-article-ink);
}

.ib-article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-block-end: clamp(22px, 3vw, 34px);
    color: var(--ib-article-muted);
    font-size: var(--ib-text-sm);
    font-weight: 700;
}

.ib-article-breadcrumb a {
    color: #b8151a;
    text-decoration: none;
}

.ib-article-breadcrumb a:hover {
    color: #e8201c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ib-article-breadcrumb > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ib-article-detail {
    min-width: 0;
}

.ib-article-detail__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    overflow: hidden;
    padding: clamp(30px, 4.5vw, 64px);
    border: 1px solid var(--ib-article-line);
    border-radius: clamp(22px, 3vw, 32px);
    background:
        radial-gradient(circle at 10% 0%, rgba(232, 32, 28, 0.1), transparent 31%),
        linear-gradient(135deg, #fff 0%, #f7fafc 58%, #eef4f8 100%);
    box-shadow: 0 28px 68px rgba(15, 23, 42, 0.1);
}

[dir="rtl"] .ib-article-detail__hero {
    background:
        radial-gradient(circle at 90% 0%, rgba(232, 32, 28, 0.1), transparent 31%),
        linear-gradient(225deg, #fff 0%, #f7fafc 58%, #eef4f8 100%);
}

.ib-article-detail__hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ib-article-detail__hero h1 {
    max-width: 18ch;
    margin: 0;
    color: var(--ib-article-ink);
    font-family: var(--ib-font-display);
    font-size: clamp(2.2rem, 4.5vw, 4.3rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-wrap: balance;
}

.ib-article-detail__standfirst {
    max-width: 66ch;
    margin: clamp(18px, 2.4vw, 26px) 0 0;
    color: #405873;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.72;
}

.ib-article-detail__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-block-start: clamp(22px, 3vw, 32px);
    color: #5d7088;
    font-size: var(--ib-text-xs);
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ib-article-detail__meta > * + *::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-inline-end: 12px;
    border-radius: 50%;
    background: #e8201c;
    vertical-align: middle;
}

.ib-article-detail__figure {
    position: relative;
    min-width: 0;
    margin: 0;
    isolation: isolate;
}

.ib-article-detail__figure::before {
    position: absolute;
    inset: -12px 18px 18px -12px;
    z-index: 0;
    border-radius: 24px;
    background: rgba(232, 32, 28, 0.1);
    content: "";
}

[dir="rtl"] .ib-article-detail__figure::before {
    inset: -12px -12px 18px 18px;
}

.ib-article-detail__figure img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 330px;
    aspect-ratio: 4 / 3;
    border-radius: clamp(18px, 2vw, 26px);
    object-fit: cover;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
}

.ib-article-detail__figure figcaption {
    position: relative;
    z-index: 1;
    margin-block-start: 12px;
    color: var(--ib-article-muted);
    font-size: var(--ib-text-xs);
    line-height: 1.55;
}

.ib-article-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
    align-items: start;
    gap: clamp(40px, 6vw, 88px);
    max-width: 1120px;
    margin: clamp(48px, 7vw, 86px) auto 0;
}

.ib-article-detail__content {
    min-width: 0;
}

.ib-article-detail__lede {
    margin: 0 0 clamp(34px, 5vw, 52px);
    padding-inline-start: clamp(18px, 2.5vw, 28px);
    border-inline-start: 4px solid #e8201c;
    color: #263e5a;
    font-size: clamp(1.08rem, 1.5vw, 1.25rem);
    font-weight: 600;
    line-height: 1.8;
}

.ib-article-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 clamp(42px, 6vw, 64px);
}

.ib-article-stats > div {
    min-width: 0;
    padding: clamp(18px, 2.5vw, 25px);
    border: 1px solid var(--ib-article-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.ib-article-stats dt {
    min-height: 2.8em;
    color: #65778d;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ib-article-stats dd {
    margin: 12px 0 0;
    color: #b8151a;
    font-family: var(--ib-font-display);
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1;
    overflow-wrap: anywhere;
}

.ib-article-content-section {
    scroll-margin-block-start: calc(var(--ib-topbar-h, 76px) + 24px);
}

.ib-article-content-section + .ib-article-content-section {
    margin-block-start: clamp(36px, 5vw, 54px);
    padding-block-start: clamp(34px, 4vw, 46px);
    border-block-start: 1px solid var(--ib-article-line);
}

.ib-article-content-section h2 {
    max-width: 25ch;
    margin: 0 0 16px;
    color: var(--ib-article-ink);
    font-family: var(--ib-font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.018em;
    line-height: 1.18;
    text-wrap: balance;
}

.ib-article-content-section p {
    max-width: 72ch;
    margin: 0;
    color: var(--ib-article-copy);
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.9;
    overflow-wrap: break-word;
}

.ib-article-content-section p + p {
    margin-block-start: 18px;
}

.ib-article-field-checklist {
    margin-block-start: 24px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(198, 213, 230, 0.92);
    border-inline-start: 4px solid #e8201c;
    border-radius: 15px;
    background: #f7fafc;
}

.ib-article-field-checklist > strong {
    display: block;
    color: #152a43;
    font-size: var(--ib-text-sm);
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.ib-article-field-checklist ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ib-article-field-checklist li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    color: #405873;
    line-height: 1.6;
}

.ib-article-field-checklist li::before {
    color: #c0151a;
    content: "\2713";
    font-weight: 900;
}

.ib-article-takeaways {
    position: relative;
    overflow: hidden;
    margin-block-start: clamp(48px, 7vw, 72px);
    padding: clamp(28px, 4vw, 42px);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 32, 28, 0.3), transparent 36%),
        linear-gradient(145deg, #071427 0%, #102d4d 100%);
    color: #fff;
    box-shadow: 0 24px 50px rgba(7, 20, 39, 0.2);
}

[dir="rtl"] .ib-article-takeaways {
    background:
        radial-gradient(circle at 0 0%, rgba(232, 32, 28, 0.3), transparent 36%),
        linear-gradient(215deg, #071427 0%, #102d4d 100%);
}

.ib-article-takeaways__eyebrow {
    margin: 0 0 10px;
    color: #ffaaa7;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ib-article-takeaways h2 {
    margin: 0;
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    font-weight: 900;
    line-height: 1.2;
}

.ib-article-takeaways ul {
    display: grid;
    gap: 15px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ib-article-takeaways li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.ib-article-takeaways li::before {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-block-start: 2px;
    border-radius: 50%;
    background: #e8201c;
    color: #fff;
    content: "\2713";
    font-size: 12px;
    font-weight: 900;
}

.ib-article-source {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(24px, 4vw, 44px);
    margin-block-start: 24px;
    padding: clamp(25px, 3.5vw, 38px);
    border: 1px solid var(--ib-article-line);
    border-radius: 20px;
    background: #f7fafc;
}

.ib-article-source__eyebrow {
    margin: 0 0 8px;
    color: #b8151a;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ib-article-source h2 {
    margin: 0;
    color: var(--ib-article-ink);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 900;
    line-height: 1.3;
}

.ib-article-source h2 + p {
    margin: 12px 0 0;
    color: var(--ib-article-copy);
    line-height: 1.65;
}

.ib-article-source__note {
    margin: 10px 0 0;
    color: var(--ib-article-muted);
    font-size: var(--ib-text-xs);
    line-height: 1.65;
}

.ib-article-source > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid rgba(232, 32, 28, 0.25);
    border-radius: 999px;
    background: #fff;
    color: #b8151a;
    font-size: var(--ib-text-sm);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
    transition: transform var(--ib-transition), color var(--ib-transition), border-color var(--ib-transition), box-shadow var(--ib-transition);
}

.ib-article-source > a:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 32, 28, 0.55);
    color: #e8201c;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.11);
}

.ib-article-source > a span[aria-hidden="true"] {
    display: inline-block;
    transition: transform var(--ib-transition);
}

.ib-article-source > a:hover span[aria-hidden="true"] {
    transform: translate(2px, -2px);
}

[dir="rtl"] .ib-article-source > a span[aria-hidden="true"] {
    transform: scaleX(-1);
}

[dir="rtl"] .ib-article-source > a:hover span[aria-hidden="true"] {
    transform: translate(-2px, -2px) scaleX(-1);
}

.ib-article-sources {
    margin-block-start: 24px;
    padding: clamp(25px, 3.5vw, 38px);
    border: 1px solid var(--ib-article-line);
    border-radius: 20px;
    background: #f7fafc;
}

.ib-article-sources__head h2 {
    margin: 0;
    color: var(--ib-article-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 900;
    line-height: 1.25;
}

.ib-article-sources__head h2 + p {
    margin: 12px 0 0;
    color: var(--ib-article-copy);
    line-height: 1.65;
}

.ib-article-sources__list {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ib-article-sources__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(198, 213, 230, 0.86);
    border-radius: 13px;
    background: #fff;
}

.ib-article-sources__list li > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ib-article-sources__list strong {
    color: #b8151a;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ib-article-sources__list li > div > span {
    color: #263e5a;
    font-weight: 800;
    line-height: 1.45;
}

.ib-article-sources__list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b8151a;
    font-size: var(--ib-text-sm);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.ib-article-sources__list a:hover {
    color: #e8201c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ib-article-sources > .ib-article-source__note {
    margin-block-start: 16px;
}

.ib-article-toc {
    position: sticky;
    inset-block-start: calc(var(--ib-topbar-h, 76px) + 24px);
    padding: 25px 24px 26px;
    border: 1px solid var(--ib-article-line);
    border-block-start: 4px solid #e8201c;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.075);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ib-article-toc strong {
    display: block;
    color: var(--ib-article-ink);
    font-size: var(--ib-text-sm);
    font-weight: 900;
}

.ib-article-toc ol {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
    padding-inline-start: 20px;
    color: #e8201c;
}

.ib-article-toc li {
    padding-inline-start: 4px;
    font-size: var(--ib-text-sm);
    font-weight: 800;
    line-height: 1.45;
}

.ib-article-toc a {
    color: #425a74;
    text-decoration: none;
}

.ib-article-toc a:hover {
    color: #c0151a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ib-article-sequence {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1120px;
    margin: clamp(48px, 7vw, 78px) auto 0;
    padding-block-start: clamp(28px, 4vw, 40px);
    border-block-start: 1px solid var(--ib-article-line);
}

.ib-article-sequence a {
    display: flex;
    min-width: 0;
    min-height: 128px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--ib-article-line);
    border-radius: 17px;
    background: #fff;
    color: var(--ib-article-ink);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    transition: transform var(--ib-transition), border-color var(--ib-transition), box-shadow var(--ib-transition);
}

.ib-article-sequence a:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 32, 28, 0.3);
    color: var(--ib-article-ink);
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.ib-article-sequence a > span {
    color: #b8151a;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ib-article-sequence strong {
    font-size: clamp(1rem, 1.5vw, 1.17rem);
    font-weight: 900;
    line-height: 1.4;
    text-wrap: balance;
}

.ib-related-articles {
    max-width: 1120px;
    margin: clamp(68px, 9vw, 108px) auto 0;
}

.ib-related-articles__head {
    margin-block-end: clamp(24px, 4vw, 38px);
}

.ib-related-articles__head .ib-eyebrow {
    margin-block-end: 12px;
}

.ib-related-articles__head h2 {
    margin: 0;
    color: var(--ib-article-ink);
    font-family: var(--ib-font-display);
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.ib-related-articles__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 30px);
    align-items: stretch;
}

.ib-article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 58px);
    max-width: 1120px;
    margin: clamp(58px, 8vw, 92px) auto 0;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% -30%, rgba(232, 32, 28, 0.76), transparent 40%),
        linear-gradient(135deg, #071427 0%, #12365a 100%);
    color: #fff;
    box-shadow: 0 26px 56px rgba(7, 20, 39, 0.22);
}

[dir="rtl"] .ib-article-cta {
    background:
        radial-gradient(circle at 10% -30%, rgba(232, 32, 28, 0.76), transparent 40%),
        linear-gradient(225deg, #071427 0%, #12365a 100%);
}

[dir="rtl"] .ib-article-detail__hero h1,
[dir="rtl"] .ib-article-content-section h2,
[dir="rtl"] .ib-related-articles__head h2,
[dir="rtl"] .ib-article-cta h2 {
    letter-spacing: 0;
}

.ib-article-cta p {
    margin: 0 0 9px;
    color: #ffaaa7;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ib-article-cta h2 {
    max-width: 24ch;
    margin: 0;
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.14;
    text-wrap: balance;
}

.ib-article-cta h2 + span {
    display: block;
    max-width: 65ch;
    margin-block-start: 12px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

.ib-article-cta > .ib-btn {
    flex: 0 0 auto;
}

.ib-article-not-found {
    display: flex;
    min-height: min(580px, 70vh);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(42px, 8vw, 86px) clamp(24px, 6vw, 68px);
    border: 1px solid var(--ib-article-line);
    border-radius: clamp(22px, 3vw, 30px);
    background:
        radial-gradient(circle at 50% 0%, rgba(232, 32, 28, 0.11), transparent 38%),
        #fff;
    text-align: center;
    box-shadow: 0 26px 62px rgba(15, 23, 42, 0.09);
}

.ib-article-not-found .ib-eyebrow {
    margin-inline: auto;
}

.ib-article-not-found h1 {
    margin: 0;
    color: var(--ib-article-ink);
    font-family: var(--ib-font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
}

.ib-article-not-found h1 + p {
    max-width: 56ch;
    margin: 18px auto 28px;
    color: var(--ib-article-copy);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.75;
}

.ib-article-breadcrumb a:focus-visible,
.ib-blog-card__more:focus-visible,
.ib-article-source > a:focus-visible,
.ib-article-sources__list a:focus-visible,
.ib-article-toc a:focus-visible,
.ib-article-sequence a:focus-visible,
.ib-article-filter:focus-visible,
.ib-article-empty button:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(232, 32, 28, 0.36);
    outline-offset: 4px;
}

@media (max-width: 1050px) {
    .ib-article-detail__hero {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
        gap: 34px;
    }

    .ib-article-detail__layout {
        grid-template-columns: minmax(0, 1fr) 235px;
        gap: 40px;
    }
}

@media (max-width: 880px) {
    .ib-article-discovery__heading {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .ib-article-detail__hero {
        grid-template-columns: 1fr;
    }

    .ib-article-detail__hero h1 {
        max-width: 20ch;
    }

    .ib-article-detail__figure img {
        min-height: 0;
        max-height: 520px;
        aspect-ratio: 16 / 10;
    }

    .ib-article-detail__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ib-article-toc {
        display: none;
    }

    .ib-article-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .ib-article-detail-page {
        padding-block-start: 22px;
    }

    .ib-article-detail__hero {
        padding: 25px 20px 20px;
        border-radius: 20px;
    }

    .ib-article-detail__hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: -0.025em;
    }

    .ib-article-detail__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .ib-article-detail__meta > * + *::before {
        display: none;
    }

    .ib-article-detail__figure::before {
        display: none;
    }

    .ib-article-detail__layout {
        margin-block-start: 42px;
    }

    .ib-article-stats {
        grid-template-columns: 1fr;
    }

    .ib-article-stats dt {
        min-height: 0;
    }

    .ib-article-source {
        grid-template-columns: 1fr;
    }

    .ib-article-sources__list li {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ib-article-sources__list a {
        white-space: normal;
    }

    .ib-article-source > a {
        width: 100%;
        white-space: normal;
    }

    .ib-article-sequence,
    .ib-related-articles__grid {
        grid-template-columns: 1fr;
    }

    .ib-article-sequence a {
        min-height: 0;
    }

    .ib-article-cta > .ib-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ib-blog-card,
    .ib-blog-card__media img,
    .ib-blog-card__more span[aria-hidden="true"],
    .ib-article-source > a,
    .ib-article-source > a span[aria-hidden="true"],
    .ib-article-sequence a {
        transition: none;
    }

    .ib-article-source > a:hover,
    .ib-article-sequence a:hover,
    .ib-blog-card:hover,
    .ib-blog-card:hover .ib-blog-card__media img {
        transform: none;
    }
}

.ib-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(38px, 5vw, 70px) clamp(20px, 4vw, 56px);
    border: 1px solid rgba(215, 225, 236, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
}

.ib-feature__media {
    position: relative;
    min-width: 0;
}

.ib-feature__media > img {
    display: block;
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.ib-feature__chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 78%;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.95);
    color: #0b1828;
    font-size: var(--ib-text-xs);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ib-feature__chip svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: #c0151a;
}

.ib-feature__chip--search {
    top: 6%;
    inset-inline-start: -4%;
    border: 1.5px solid rgba(232, 32, 28, 0.45);
    animation: ib-float-a 7s ease-in-out infinite;
}

.ib-feature__chip--tag1 {
    top: 22%;
    inset-inline-start: -6%;
}

.ib-feature__chip--tag1::before,
.ib-feature__chip--tag2::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #00a99d;
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.13);
}

.ib-feature__chip--tag2 {
    top: 36%;
    inset-inline-start: -3%;
}

.ib-feature__chip--match {
    bottom: 7%;
    inset-inline-end: -4%;
    animation: ib-float-b 8s ease-in-out infinite;
}

.ib-feature__chip--match::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #00a99d;
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.13);
}

.ib-feature__copy {
    min-width: 0;
}

.ib-feature__title {
    margin: 0;
    color: #071020;
    font-family: var(--ib-font-display);
    font-size: clamp(1.7rem, 2.7vw, 2.4rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.ib-feature__lead {
    margin: 18px 0 0;
    color: #4b6180;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.75;
}

.ib-feature__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #c0151a;
    font-size: var(--ib-text-md);
    font-weight: 800;
}

.ib-feature__more:hover {
    text-decoration: none;
    color: #e8201c;
}

.ib-feature__more svg {
    width: 22px;
    height: 22px;
    transition: transform var(--ib-transition);
}

.ib-feature__more:hover svg {
    transform: translateX(4px);
}

[dir="rtl"] .ib-feature__more svg {
    transform: scaleX(-1);
}

[dir="rtl"] .ib-feature__more:hover svg {
    transform: scaleX(-1) translateX(4px);
}

@media (max-width: 980px) {
    .ib-feature {
        grid-template-columns: 1fr;
        gap: clamp(40px, 7vw, 56px);
    }

    .ib-feature__media {
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .ib-feature__chip--search { inset-inline-start: 2%; }
    .ib-feature__chip--tag1 { inset-inline-start: 2%; }
    .ib-feature__chip--tag2 { inset-inline-start: 5%; }
    .ib-feature__chip--match { inset-inline-end: 2%; }
}

.ib-trustbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 34px);
    border: 1px solid rgba(199, 211, 226, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
    margin-block: clamp(24px, 2.8vw, 38px);
}

.ib-trustbar__intro {
    margin: 0;
    color: #991b1b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.45;
    text-transform: uppercase;
}

.ib-trustbar__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.ib-trustbar__item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding-inline: clamp(14px, 2.4vw, 28px);
    border-inline-start: 1px solid rgba(199, 211, 226, 0.75);
}

.ib-trustbar__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: #fbeaec;
    color: #c8102e;
}

.ib-trustbar__icon svg {
    width: 21px;
    height: 21px;
}

.ib-trustbar__item > span:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ib-trustbar__item strong {
    color: #111827;
    font-size: var(--ib-text-sm);
    font-weight: 900;
    line-height: 1.3;
}

.ib-trustbar__item small {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
}

/* Shared proof metrics retained for the About page. */
.ib-home__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: clamp(18px, 2.6vw, 28px);
    border: 1px solid rgba(198, 213, 230, 0.78);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ib-stat {
    display: grid;
    place-items: center;
    padding: 8px clamp(10px, 2.5vw, 26px);
    border-inline-end: 1px solid rgba(177, 195, 214, 0.66);
    text-align: center;
}

.ib-stat:last-child { border-inline-end: 0; }

.ib-stat__value {
    display: block;
    color: #c8102e;
    font-family: var(--ib-font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    font-weight: 900;
    line-height: 1;
}

.ib-stat__label {
    display: block;
    margin-top: 9px;
    color: #4d6380;
    font-size: var(--ib-text-xs);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

/* iBina AI: product-led, human-reviewed workflow */
.ib-ai {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
    align-items: center;
    gap: clamp(38px, 5vw, 72px);
    overflow: hidden;
    padding: clamp(42px, 6vw, 78px) clamp(22px, 5vw, 66px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(200, 16, 46, 0.22), transparent 30%),
        linear-gradient(145deg, #111827 0%, #0c1a2d 58%, #07111f 100%);
    box-shadow: 0 28px 68px rgba(7, 17, 31, 0.2);
    color: #fff;
}

.ib-ai::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

.ib-ai__copy,
.ib-ai__visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ib-ai .ib-eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ff9aa7;
    box-shadow: none;
}

.ib-ai__title {
    max-width: 14ch;
    margin: 0;
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: clamp(2rem, 3.7vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.ib-ai__lead {
    max-width: 60ch;
    margin: 20px 0 0;
    color: rgba(229, 237, 246, 0.79);
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    line-height: 1.75;
}

.ib-ai__flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ib-ai__flow li {
    display: grid;
    gap: 7px;
    padding: 13px 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
}

.ib-ai__flow li:first-child {
    border-top-color: #e3263f;
}

.ib-ai__flow li span {
    color: #ff8998;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ib-ai__roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.ib-ai__roles article {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.ib-ai__roles article > span {
    display: block;
    margin-bottom: 8px;
    color: #ff8998;
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ib-ai__roles strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.3;
}

.ib-ai__roles p {
    margin: 8px 0 0;
    color: rgba(218, 229, 240, 0.68);
    font-size: 0.75rem;
    line-height: 1.55;
}

.ib-ai__trust {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0;
    color: rgba(231, 238, 246, 0.8);
    font-size: var(--ib-text-xs);
    font-weight: 700;
    line-height: 1.55;
}

.ib-ai__trust svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #58d8ae;
}

.ib-ai__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.ib-ai__learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: var(--ib-text-sm);
    font-weight: 800;
}

.ib-ai__learn:hover {
    color: #ff9aa7;
    text-decoration: none;
}

.ib-ai__visual {
    padding: clamp(24px, 4vw, 46px) 0;
}

.ib-ai__window {
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 34px 78px rgba(0, 0, 0, 0.38);
}

.ib-ai__windowbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    padding: 0 15px;
    border-bottom: 1px solid #e5eaf0;
    background: #f8fafc;
    color: #111827;
}

.ib-ai__windowbar > span {
    display: flex;
    gap: 5px;
}

.ib-ai__windowbar i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5e1;
}

.ib-ai__windowbar i:first-child { background: #e3263f; }

.ib-ai__windowbar strong {
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.ib-ai__windowbar em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #e8f7f0;
    color: #087a57;
    font-size: 0.59rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.ib-ai__window img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.ib-ai__review-card,
.ib-ai__output-card {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ib-ai__review-card {
    inset-inline-start: -22px;
    bottom: 3px;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 240px;
    padding: 13px 16px;
    border-radius: 15px;
}

.ib-ai__review-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: #e8f7f0;
    color: #087a57;
    font-size: 0.92rem;
    font-weight: 900;
}

.ib-ai__review-card > span:last-child {
    display: grid;
    gap: 2px;
}

.ib-ai__review-card strong {
    font-size: 0.75rem;
    font-weight: 900;
}

.ib-ai__review-card small {
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 700;
}

.ib-ai__output-card {
    inset-inline-end: -18px;
    top: 2px;
    display: flex;
    gap: 6px;
    padding: 10px;
    border-radius: 13px;
}

.ib-ai__output-card span {
    padding: 6px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.62rem;
    font-weight: 900;
}

/* ─── Trust pillars (bidding transparency + coordinated delivery) ─── */
.ib-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 28px);
    max-width: 1160px;
    margin: 0 auto;
}

.ib-pillar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(198, 213, 230, 0.84);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
    transition: transform var(--ib-transition), box-shadow var(--ib-transition), border-color var(--ib-transition);
}

.ib-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 32, 28, 0.22);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
}

.ib-pillar__media {
    position: relative;
    overflow: hidden;
    background: #dcecf0;
}

.ib-pillar__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 520ms ease;
}

.ib-pillar:hover .ib-pillar__media img {
    transform: scale(1.04);
}

.ib-pillar__badge {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-start: 16px;
    max-width: calc(100% - 32px);
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #c0151a;
    font-size: var(--ib-text-xs);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ib-pillar__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: clamp(22px, 2.8vw, 32px);
}

.ib-pillar__title {
    margin: 0;
    color: #071020;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 900;
    line-height: 1.22;
}

.ib-pillar__desc {
    margin: 12px 0 0;
    color: #4b6180;
    font-size: var(--ib-text-sm);
    line-height: 1.7;
}

.ib-pillar__points {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-top: 1px dashed rgba(198, 213, 230, 0.9);
    list-style: none;
}

.ib-pillar__points li {
    position: relative;
    min-width: 0;
    padding-inline-start: 27px;
    color: #3f5570;
    font-size: var(--ib-text-sm);
    font-weight: 700;
    line-height: 1.55;
}

.ib-pillar__points li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(0, 169, 157, 0.12);
    color: #00a99d;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.ib-pillar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding-top: 20px;
    color: #c0151a;
    font-size: var(--ib-text-sm);
    font-weight: 800;
}

.ib-pillar__link:hover {
    color: #e8201c;
    text-decoration: none;
}

.ib-pillar__link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--ib-transition);
}

.ib-pillar__link:hover svg {
    transform: translateX(3px);
}

[dir="rtl"] .ib-pillar__link svg {
    transform: scaleX(-1);
}

[dir="rtl"] .ib-pillar__link:hover svg {
    transform: scaleX(-1) translateX(3px);
}

.ib-band {
    padding: clamp(38px, 5vw, 70px) clamp(20px, 4vw, 56px);
    border: 1px solid rgba(215, 225, 236, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
}

.ib-band--tint {
    background:
        linear-gradient(140deg, rgba(237, 246, 249, 0.96) 0%, rgba(255, 255, 255, 0.92) 60%, rgba(255, 242, 236, 0.88) 100%),
        #f4f8fb;
}

.ib-band--timeline,
.ib-band--categories {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 249, 0.92)),
        #f8fbfd;
}

.ib-band--timeline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--ib-topbar-h));
    min-height: calc(100svh - var(--ib-topbar-h));
    padding-block: clamp(30px, 4vw, 52px);
}

.ib-band__head {
    max-width: 780px;
    margin: 0 auto clamp(28px, 4vw, 48px);
    text-align: center;
}

.ib-band__head .ib-eyebrow {
    margin-inline: auto;
}

.ib-band__title {
    margin: 0;
    color: #071020;
    font-family: var(--ib-font-display);
    font-size: clamp(1.65rem, 3.25vw, 2.75rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.ib-band__lead {
    margin: 16px auto 0;
    max-width: 720px;
    color: #52677f;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    line-height: 1.75;
}

.ib-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(14px, 2vw, 22px);
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* Connector line — visible in the gaps between cards, ties the steps together */
.ib-steps::before {
    content: "";
    position: absolute;
    top: calc(clamp(22px, 2.6vw, 30px) + 24px);
    inset-inline: 8%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(232, 32, 28, 0.3) 12%, rgba(232, 32, 28, 0.3) 88%, transparent);
}

.ib-step {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid rgba(198, 213, 230, 0.8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
    transition: transform var(--ib-transition), box-shadow var(--ib-transition), border-color var(--ib-transition);
}

.ib-step:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 32, 28, 0.28);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11);
}

.ib-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ff3b36, #d7191c);
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 16px 26px rgba(232, 32, 28, 0.24);
}

.ib-step__title {
    margin: 0 0 10px;
    color: #071020;
    font-size: var(--ib-text-lg);
    font-weight: 900;
    line-height: 1.25;
}

.ib-step__desc {
    margin: 0;
    color: #53677f;
    font-size: var(--ib-text-sm);
    line-height: 1.7;
}

/* Bottom-aligned check list keeps all four cards visually level */
.ib-step__points {
    display: grid;
    gap: 9px;
    margin: auto 0 0;
    padding: 16px 0 0;
    border-top: 1px dashed rgba(198, 213, 230, 0.9);
    list-style: none;
}

.ib-step__desc {
    padding-bottom: 16px;
}

.ib-step__points li {
    position: relative;
    min-width: 0;
    padding-inline-start: 26px;
    color: #3f5570;
    font-size: var(--ib-text-xs);
    font-weight: 700;
    line-height: 1.5;
}

.ib-step__points li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: rgba(0, 169, 157, 0.12);
    color: #00a99d;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.ib-pm-showcase,
.ib-pm-workflows {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    scroll-margin-block-start: var(--ib-topbar-h);
    min-height: calc(100vh - var(--ib-topbar-h) - 48px);
    min-height: calc(100svh - var(--ib-topbar-h) - 48px);
    padding: clamp(42px, 5vw, 72px) clamp(24px, 4.5vw, 62px);
    border: 1px solid rgba(120, 151, 185, 0.26);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 8%, rgba(0, 169, 157, 0.2), transparent 30%),
        radial-gradient(circle at 4% 96%, rgba(232, 32, 28, 0.17), transparent 32%),
        linear-gradient(145deg, #071020 0%, #0b1b31 54%, #102a42 100%);
    color: #fff;
    box-shadow: 0 30px 70px rgba(6, 15, 28, 0.22);
}

.ib-pm-showcase {
    display: flex;
    align-items: center;
    padding-block: clamp(28px, 2.8vw, 38px);
}

.ib-pm-workflows {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ib-pm-showcase::before,
.ib-pm-workflows::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(135deg, transparent 2%, #000 42%, transparent 96%);
    mask-image: linear-gradient(135deg, transparent 2%, #000 42%, transparent 96%);
}

.ib-pm-showcase__top {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(280px, 0.82fr) minmax(460px, 1.18fr);
    align-items: center;
    gap: clamp(34px, 5vw, 74px);
}

.ib-pm-showcase__copy {
    min-width: 0;
}

.ib-pm-showcase__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin: 0 0 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.09);
    color: #dffbf8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.ib-pm-showcase__badge::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #30d5c8;
    box-shadow: 0 0 0 5px rgba(48, 213, 200, 0.13);
}

.ib-pm-showcase__title {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.ib-pm-showcase__lead {
    max-width: 620px;
    margin: 20px 0 0;
    color: #c4d2e2;
    font-size: clamp(1rem, 1.55vw, 1.12rem);
    line-height: 1.75;
}

.ib-pm-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ib-pm-showcase__actions .ib-btn--outline {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.ib-pm-showcase__actions .ib-btn--outline:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.ib-pm-showcase__actions .ib-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.ib-pm-workspace {
    position: relative;
    z-index: 0;
    isolation: isolate;
    min-width: 0;
    padding: clamp(17px, 2vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    color: #071020;
    box-shadow:
        0 34px 78px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.ib-pm-workspace::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px -16px -18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 38, 59, 0.54);
    transform: rotate(1.1deg);
}

.ib-pm-workspace--screenshot {
    margin: 0;
    padding: 0;
    aspect-ratio: 1424 / 1054;
    overflow: hidden;
    background: #f7f9fc;
}

.ib-pm-workspace--screenshot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.ib-pm-workspace__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dde6ef;
}

.ib-pm-workspace__project {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.ib-pm-workspace__project strong {
    overflow: hidden;
    color: #071020;
    font-size: clamp(0.96rem, 1.4vw, 1.1rem);
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ib-pm-workspace__project span {
    color: #6b7e94;
    font-size: 11px;
    font-weight: 700;
}

.ib-pm-workspace__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 1 auto;
    max-width: 48%;
    padding: 7px 11px;
    border: 1px solid rgba(0, 169, 157, 0.2);
    border-radius: var(--ib-radius-full);
    background: #eafaf7;
    color: #067e75;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.ib-pm-workspace__status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00a99d;
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.12);
}

.ib-pm-workspace__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ib-pm-workspace__metric {
    display: grid;
    min-width: 0;
    gap: 5px;
    padding: 12px 13px;
    border: 1px solid #e1e8f0;
    border-radius: 13px;
    background: #f7f9fc;
}

.ib-pm-workspace__metric span {
    overflow: hidden;
    color: #718197;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ib-pm-workspace__metric strong {
    overflow: hidden;
    color: #10233d;
    font-family: var(--ib-font-display);
    font-size: clamp(0.96rem, 1.65vw, 1.18rem);
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ib-pm-workspace__timeline {
    margin-top: 14px;
    padding: 14px 15px;
    border: 1px solid #e1e8f0;
    border-radius: 13px;
    background: #fff;
}

.ib-pm-workspace__timeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #53677f;
    font-size: 11px;
    font-weight: 800;
}

.ib-pm-workspace__timeline-head strong {
    color: #10233d;
    font-size: 12px;
    font-weight: 900;
}

.ib-pm-workspace__bar {
    position: relative;
    overflow: hidden;
    height: 8px;
    border-radius: var(--ib-radius-full);
    background: #e8edf3;
}

.ib-pm-workspace__bar > span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00a99d, #35cabc);
    box-shadow: 0 0 16px rgba(0, 169, 157, 0.28);
}

.ib-pm-workspace__tasks {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.ib-pm-workspace__task {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: border-color var(--ib-transition), box-shadow var(--ib-transition), transform var(--ib-transition);
}

.ib-pm-workspace__task:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 169, 157, 0.34);
    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.07);
}

.ib-pm-workspace__task-main {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 5px;
}

.ib-pm-workspace__task-main strong {
    display: -webkit-box;
    overflow: hidden;
    color: #172b45;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ib-pm-workspace__role,
.ib-pm-workspace__task-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: var(--ib-radius-full);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.ib-pm-workspace__role {
    padding: 5px 7px;
    background: #eef3f8;
    color: #53677f;
}

.ib-pm-workspace__task-status {
    flex: 0 1 auto;
    max-width: 46%;
    padding: 6px 8px;
    border: 1px solid rgba(0, 169, 157, 0.18);
    background: #eafaf7;
    color: #067e75;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.ib-pm-workspace__task-status.is-progress {
    border-color: rgba(30, 77, 123, 0.18);
    background: #eef5fb;
    color: #1e4d7b;
}

.ib-pm-workspace__task-status.is-contractor {
    border-color: rgba(232, 32, 28, 0.18);
    background: #fff1f1;
    color: #b91519;
}

.ib-pm-workspace__task-status.is-supplier {
    border-color: rgba(0, 169, 157, 0.18);
    background: #eafaf7;
    color: #067e75;
}

.ib-pm-workspace__publish {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(232, 32, 28, 0.2);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff6f6, #f7fbfc);
    color: #52677f;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
}

.ib-pm-workspace__publish > span:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.ib-pm-workspace__publish strong {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 5px 8px;
    border-radius: var(--ib-radius-full);
    background: #fff;
    color: #17304f;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ib-pm-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(13px, 1.8vw, 20px);
    margin-top: clamp(38px, 5vw, 60px);
}

.ib-pm-workflows .ib-pm-paths {
    margin-top: 0;
}

.ib-pm-path {
    position: relative;
    min-width: 0;
    padding: clamp(22px, 2.5vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: transform var(--ib-transition), border-color var(--ib-transition), background var(--ib-transition), box-shadow var(--ib-transition);
}

.ib-pm-path:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.17);
}

.ib-pm-path--featured {
    border-color: rgba(255, 255, 255, 0.76);
    background: #fff;
    color: #071020;
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
    transform: translateY(-8px);
}

.ib-pm-path--featured:hover {
    transform: translateY(-12px);
    border-color: #fff;
    background: #fff;
    box-shadow: 0 30px 62px rgba(0, 0, 0, 0.3);
}

.ib-pm-path__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.09);
    color: #b8d0e5;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.ib-pm-path--featured .ib-pm-path__label {
    border-color: rgba(232, 32, 28, 0.16);
    background: #fff1f1;
    color: #b91519;
}

.ib-pm-path__number {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--ib-font-display);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
}

.ib-pm-path--featured .ib-pm-path__number {
    color: rgba(232, 32, 28, 0.5);
}

.ib-pm-path h3 {
    margin: 11px 0 0;
    color: inherit;
    font-family: var(--ib-font-display);
    font-size: clamp(1.12rem, 1.8vw, 1.42rem);
    font-weight: 900;
    line-height: 1.2;
}

.ib-pm-path > p:not(.ib-pm-path__label) {
    margin: 12px 0 0;
    color: #bbcbdb;
    font-size: var(--ib-text-sm);
    line-height: 1.68;
}

.ib-pm-path--featured > p:not(.ib-pm-path__label) {
    color: #52677f;
}

.ib-pm-path__flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ib-pm-path--featured .ib-pm-path__flow {
    border-top-color: #e3eaf1;
}

.ib-pm-path__flow span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 5px 8px;
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.09);
    color: #e2ebf5;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
}

.ib-pm-path__flow > i {
    position: relative;
    display: block;
    width: 13px;
    height: 1px;
    flex: 0 0 13px;
    background: linear-gradient(90deg, rgba(48, 213, 200, 0.32), #30d5c8);
}

.ib-pm-path__flow > i::after {
    content: "";
    position: absolute;
    inset-block-start: -2px;
    inset-inline-end: 0;
    width: 5px;
    height: 5px;
    border-block-start: 1px solid #30d5c8;
    border-inline-end: 1px solid #30d5c8;
    transform: rotate(45deg);
}

[dir="rtl"] .ib-pm-path__flow > i {
    transform: scaleX(-1);
}

.ib-pm-path--featured .ib-pm-path__flow span {
    background: #eef7f6;
    color: #087f77;
}

.ib-pm-capabilities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 28px auto 0;
    padding: 0;
    list-style: none;
}

.ib-pm-capabilities li {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: #c8d6e5;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.ib-pm-capabilities li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-inline-end: 7px;
    border-radius: 50%;
    background: #30d5c8;
}

.ib-pm-showcase__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: 830px;
    margin: 22px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #aebfd0;
    font-size: var(--ib-text-xs);
    line-height: 1.55;
    text-align: center;
}

.ib-pm-showcase__privacy > span {
    display: block;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border: 2px solid #30d5c8;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(48, 213, 200, 0.1);
}

.ib-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    max-width: 1140px;
    margin: 0 auto;
}

.ib-role {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: clamp(26px, 3vw, 36px);
    border: 1px solid rgba(198, 213, 230, 0.86);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    transition: transform var(--ib-transition), box-shadow var(--ib-transition), border-color var(--ib-transition);
}

.ib-role:hover,
.ib-role--featured {
    transform: translateY(-4px);
    border-color: rgba(0, 169, 157, 0.35);
    box-shadow: 0 26px 52px rgba(13, 43, 61, 0.14);
}

.ib-role__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: #e8201c;
    color: #fff;
    box-shadow: 0 10px 24px rgba(232, 32, 28, 0.24);
    font-size: 1.1rem;
    font-weight: 900;
}

.ib-role__icon svg {
    width: 26px;
    height: 26px;
}

.ib-role__title {
    margin: 0 0 10px;
    color: #071020;
    font-size: var(--ib-text-xl);
    font-weight: 900;
    line-height: 1.2;
}

.ib-role__desc {
    margin: 0;
    color: #53677f;
    font-size: var(--ib-text-sm);
    line-height: 1.7;
}

/* ─── Why Choose Our Platform (HadiBina-style full-screen cards) ─── */
.ib-why-screen {
    position: relative;
    padding: clamp(38px, 5vw, 70px) clamp(20px, 4vw, 48px);
    border: 1px solid rgba(215, 225, 236, 0.9);
    border-radius: 24px;
    background:
        linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
}

.ib-why-screen__inner {
    display: grid;
    gap: clamp(34px, 5vw, 64px);
    width: min(calc(100% - clamp(12px, 2vw, 28px)), 1240px);
    margin-inline: auto;
}

.ib-why-screen__head {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.ib-why-screen__head .ib-eyebrow {
    margin-inline: auto;
}

.ib-why-screen__title {
    margin: 0;
    color: #0b1324;
    font-family: var(--ib-font-display);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.ib-why-screen__title-accent {
    color: #e8201c;
}

.ib-why-screen__lead {
    max-width: 62ch;
    margin: 18px auto 0;
    color: #53677f;
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    line-height: 1.75;
}

.ib-why-screen__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(270px, 360px) minmax(250px, 1fr);
    align-items: start;
    gap: clamp(22px, 4vw, 48px);
}

.ib-why-screen__rail {
    display: grid;
    gap: clamp(22px, 3vw, 38px);
    min-width: 0;
    padding-block: clamp(8px, 6vh, 52px);
}

.ib-why-screen__rail--right {
    padding-top: clamp(56px, 10vh, 112px);
}

.ib-why-screen__item {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    min-width: 0;
    overflow: hidden;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid rgba(198, 213, 230, 0.84);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
    transition: transform var(--ib-transition), border-color var(--ib-transition), box-shadow var(--ib-transition);
}

.ib-why-screen__item:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 32, 28, 0.26);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.1);
}

.ib-why-screen__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #e8201c;
    color: #fff;
    box-shadow: 0 14px 28px rgba(232, 32, 28, 0.24);
}

.ib-why-screen__icon svg {
    width: 24px;
    height: 24px;
}

.ib-why-screen__item-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ib-why-screen__item-title {
    margin: 0 0 9px;
    color: #0b1324;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    font-weight: 900;
    line-height: 1.28;
}

.ib-why-screen__item-desc {
    margin: 0;
    color: #53677f;
    font-size: var(--ib-text-sm);
    line-height: 1.75;
}

.ib-why-screen__media {
    position: sticky;
    top: calc(var(--ib-topbar-h) + clamp(18px, 4vw, 44px));
    min-width: 0;
    margin: 0;
    isolation: isolate;
}

.ib-why-screen__media::before {
    content: "";
    position: absolute;
    inset: -13px;
    z-index: -1;
    border: 1px solid rgba(232, 32, 28, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(232, 32, 28, 0.09), rgba(0, 169, 157, 0.1));
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

.ib-why-screen__media img {
    display: block;
    width: 100%;
    max-height: min(68vh, 620px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.16);
}

.ib-why {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
    max-width: 1160px;
    margin: 0 auto;
}

.ib-why__tile {
    min-width: 0;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid rgba(198, 213, 230, 0.8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    transition: transform var(--ib-transition), box-shadow var(--ib-transition), border-color var(--ib-transition);
}

.ib-why__tile:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 32, 28, 0.24);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
}

.ib-why__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(232, 32, 28, 0.12), rgba(0, 169, 157, 0.13));
}

.ib-why__icon svg {
    margin: auto;
}

.ib-why__title {
    margin: 0 0 8px;
    color: #071020;
    font-size: var(--ib-text-md);
    font-weight: 900;
    line-height: 1.3;
}

.ib-why__desc {
    margin: 0;
    color: #53677f;
    font-size: var(--ib-text-sm);
    line-height: 1.7;
}

.ib-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ib-cat {
    padding: 12px 20px;
    border: 1px solid rgba(198, 213, 230, 0.84);
    border-radius: var(--ib-radius-full);
    background: #fff;
    color: #071020;
    font-size: var(--ib-text-sm);
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
    transition: transform var(--ib-transition), border-color var(--ib-transition), color var(--ib-transition);
}

.ib-cat:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 32, 28, 0.32);
    color: #c0151a;
}

.ib-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    max-width: 1160px;
    margin: 0 auto;
}

.ib-review {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    margin: 0;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(198, 213, 230, 0.84);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.ib-review__quote {
    position: relative;
    margin: 0;
    padding-top: 24px;
    color: #1d2b3f;
    font-size: var(--ib-text-md);
    line-height: 1.75;
}

.ib-review__quote::before {
    content: "\201C";
    position: absolute;
    top: -18px;
    inset-inline-start: -2px;
    color: #e8201c;
    font-family: Georgia, serif;
    font-size: 4.2rem;
    line-height: 1;
    opacity: 0.25;
}

.ib-review__by {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.ib-review__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #14345b;
    color: #fff;
    font-weight: 900;
}

.ib-review__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ib-review__name {
    color: #071020;
    font-size: var(--ib-text-sm);
    font-weight: 900;
}

.ib-review__role {
    color: #60748d;
    font-size: var(--ib-text-xs);
}

.ib-home__seo {
    max-width: 930px;
    text-align: center;
}

.ib-home__seo-title {
    margin: 0 0 16px;
    color: #071020;
    font-family: var(--ib-font-display);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 900;
    line-height: 1.12;
}

.ib-home__seo p {
    margin: 0 0 18px;
    color: #52677f;
    font-size: var(--ib-text-md);
    line-height: 1.85;
}

.ib-home__seo p:last-child {
    margin-bottom: 0;
}

.ib-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 6vw, 78px) clamp(20px, 4vw, 56px);
    border: 1px solid rgba(10, 25, 43, 0.2);
    border-radius: 24px;
    text-align: center;
    background:
        linear-gradient(135deg, #17243a 0%, #132f4d 50%, #071525 100%);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.ib-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.ib-cta__title,
.ib-cta__lead,
.ib-cta__actions,
.ib-cta__eyebrow {
    position: relative;
    z-index: 1;
}

.ib-cta__eyebrow {
    margin: 0 auto 14px;
    color: #ff9aa7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ib-cta__title {
    max-width: 780px;
    margin: 0 auto;
    color: #fff;
    font-family: var(--ib-font-display);
    font-size: clamp(1.75rem, 3.8vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
}

.ib-cta__lead {
    max-width: 660px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    line-height: 1.75;
}

.ib-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.ib-about__hero-visual {
    min-width: 0;
}

.ib-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
}

.ib-stack__photo {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #dcecf0;
}

.ib-stack__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ib-stack__photo--main {
    top: 0;
    inset-inline-end: 0;
    z-index: 1;
    width: 80%;
    aspect-ratio: 16 / 11;
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.16);
    animation: ib-float-a 7s ease-in-out infinite;
}

.ib-stack__photo--sub {
    bottom: 0;
    inset-inline-start: 0;
    z-index: 2;
    width: 56%;
    aspect-ratio: 4 / 3;
    border: 5px solid #fff;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
    animation: ib-float-b 8s ease-in-out infinite;
}

.ib-stack__tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 68%;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--ib-radius-full);
    background: rgba(255, 255, 255, 0.92);
    color: #071020;
    font-size: var(--ib-text-xs);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ib-stack__tag-icon,
.ib-stack__tag-icon--ok {
    display: inline-flex;
    color: #00a99d;
}

.ib-stack__tag-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #00a99d;
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.12);
}

.ib-stack__tag--bids {
    top: 1%;
    inset-inline-start: 0;
    animation: ib-float-b 6.5s ease-in-out infinite;
}

.ib-stack__tag--verified {
    top: 48%;
    inset-inline-start: 12%;
    animation: ib-float-a 7.5s ease-in-out infinite;
}

.ib-stack__tag--paid {
    bottom: 3%;
    inset-inline-end: 0;
    animation: ib-float-a 6s ease-in-out infinite;
}

@keyframes ib-float-a {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes ib-float-b {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(9px); }
}

@media (max-width: 900px) {
    .ib-hero-slider__title {
        max-width: 24ch;
    }

    .ib-hero-slider__scrim {
        background:
            linear-gradient(90deg, rgba(6, 15, 28, 0.9) 0%, rgba(6, 15, 28, 0.7) 55%, rgba(6, 15, 28, 0.42) 100%),
            linear-gradient(180deg, rgba(6, 15, 28, 0.12) 0%, transparent 34%, rgba(6, 15, 28, 0.6) 100%);
    }
}

@media (max-width: 980px) {
    .ib-pm-showcase,
    .ib-pm-workflows {
        min-height: auto;
    }

    .ib-steps,
    .ib-roles {
        grid-template-columns: 1fr 1fr;
    }

    .ib-ai {
        grid-template-columns: 1fr;
    }

    .ib-ai__title {
        max-width: 18ch;
    }

    .ib-ai__visual {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .ib-why-screen__stage {
        grid-template-columns: 1fr;
    }

    .ib-why-screen__media {
        position: relative;
        top: auto;
        width: min(100%, 470px);
        margin-inline: auto;
        order: -1;
    }

    .ib-why-screen__rail {
        grid-template-columns: 1fr 1fr;
        padding-block: 0;
        gap: 24px;
    }

    .ib-why-screen__rail--right {
        padding-top: 0;
    }

    .ib-pm-showcase__top {
        grid-template-columns: 1fr;
    }

    .ib-pm-showcase__copy {
        max-width: 760px;
    }

    .ib-pm-showcase__title {
        max-width: 15ch;
    }

    .ib-pm-workspace {
        width: min(100%, 780px);
        margin-inline: auto;
    }

    .ib-pm-workspace__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ib-reviews {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ib-home,
    .ib-about {
        gap: 20px;
    }

    .ib-home > *,
    .ib-about > * {
        width: min(calc(100% - 24px), 1320px);
    }

    .ib-band,
    .ib-cta,
    .ib-feature,
    .ib-why-screen,
    .ib-blogs,
    .ib-ai,
    .ib-pm-showcase,
    .ib-pm-workflows {
        border-radius: 18px;
        padding: clamp(24px, 7vw, 38px) 16px;
    }

    .ib-hero-slider__arrow {
        width: 44px;
        height: 44px;
    }

    .ib-trustbar {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
        margin-block: 12px;
    }

    .ib-trustbar__items {
        grid-template-columns: 1fr;
    }

    .ib-trustbar__item {
        padding: 14px 0;
        border-inline-start: 0;
        border-top: 1px solid rgba(199, 211, 226, 0.75);
    }

    .ib-trustbar__item:first-child {
        border-top: 0;
    }

    .ib-home__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 16px;
    }

    .ib-stat:nth-child(2) { border-inline-end: 0; }

    .ib-stat:nth-child(-n+2) {
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(177, 195, 214, 0.66);
    }

    .ib-stat:nth-child(n+3) { padding-top: 18px; }

    .ib-pillars,
    .ib-steps,
    .ib-roles,
    .ib-why,
    .ib-why-screen__rail {
        grid-template-columns: 1fr;
    }

    .ib-why-screen__item {
        padding: 22px;
    }

    .ib-why-screen__media img {
        aspect-ratio: 4 / 5;
        max-height: none;
    }

    .ib-pm-paths {
        grid-template-columns: 1fr;
    }

    .ib-pm-path--featured,
    .ib-pm-path--featured:hover {
        transform: none;
    }

    .ib-pm-showcase__privacy {
        padding-inline: 8px;
    }
}

@media (max-width: 760px) {
    .ib-home > .ib-hero-slider {
        height: auto;
        min-height: calc(100vh - var(--ib-topbar-h));
        min-height: calc(100svh - var(--ib-topbar-h));
    }
}

@media (max-width: 520px) {
    .ib-hero-slider__content {
        padding-block: clamp(24px, 12vw, 44px);
    }

    .ib-hero-slider__lead {
        margin-top: 18px;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .ib-hero-slider__trust {
        display: none;
    }

    .ib-hero-slider__cta .ib-btn,
    .ib-cta__actions .ib-btn,
    .ib-about__cta .ib-btn,
    .ib-pm-showcase__actions .ib-btn {
        width: 100%;
    }

    .ib-pm-showcase__top {
        gap: 30px;
    }

    .ib-pm-showcase__title {
        max-width: none;
        font-size: clamp(1.85rem, 9.2vw, 2.5rem);
    }

    .ib-pm-workspace {
        padding: 14px;
        border-radius: 16px;
    }

    .ib-pm-workspace::after {
        inset: 10px -7px -10px 7px;
        border-radius: 16px;
    }

    .ib-pm-workspace__head {
        align-items: flex-start;
    }

    .ib-pm-workspace__status {
        max-width: 42%;
        white-space: normal;
        text-align: center;
    }

    .ib-pm-workspace__task {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .ib-pm-workspace__task-status {
        max-width: 100%;
        justify-self: start;
        text-align: start;
    }

    .ib-pm-workspace__publish {
        align-items: flex-start;
        flex-direction: column;
    }

    .ib-pm-workspace__publish > span:last-child {
        justify-content: flex-start;
    }

    .ib-pm-path__flow {
        row-gap: 9px;
    }

    .ib-hero-slider__arrow {
        display: none;
    }

    .ib-hero-slider__dots {
        inset-inline: 0;
        justify-content: center;
    }

    .ib-ai__flow {
        grid-template-columns: 1fr 1fr;
    }

    .ib-ai__roles {
        grid-template-columns: 1fr;
    }

    .ib-ai__windowbar {
        grid-template-columns: auto 1fr;
    }

    .ib-ai__windowbar em,
    .ib-ai__output-card {
        display: none;
    }

    .ib-ai__review-card {
        position: relative;
        inset: auto;
        max-width: none;
        margin: 12px 0 0;
    }

    .ib-blog-card__foot > span:first-child {
        max-width: none;
    }

    .ib-stack {
        aspect-ratio: 4 / 3;
    }

    .ib-stack__tag {
        font-size: 11px;
        padding: 7px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ib-stack__photo,
    .ib-stack__tag {
        animation: none;
    }

    .ib-pm-showcase .ib-btn,
    .ib-pm-workspace__task,
    .ib-pm-path {
        transition: none;
    }

    .ib-pm-workspace__task:hover,
    .ib-pm-path:hover,
    .ib-pm-path--featured,
    .ib-pm-path--featured:hover {
        transform: none;
    }
}
