:root {
    --ipo-ink: #f7f8ff;
    --ipo-muted: #b9c2db;
    --ipo-night: #070b18;
    --ipo-blue: #5665ff;
    --ipo-violet: #8d6cff;
    --ipo-copper: #d69661;
}

.ipo-home-hero {
    height: min(1100px, calc(100vh - 88px));
    min-height: 680px;
    background: var(--ipo-night);
    overflow: hidden;
    position: relative;
}

.ipo-home-slide { height: 100%; position: relative; }
.ipo-home-slide--markets {
    background: url('../img/hero.png') center center / cover no-repeat;
}
.ipo-home-slide--markets .ipo-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 9, 18, .18), rgba(4, 9, 18, .03));
}
.ipo-home-slide--anthropic {
        background: url('../img/promo/background.jpeg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ipo-slide-grid {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 90%);
}
.ipo-home-slide__inner { height: 100%; display: flex; align-items: center; position: relative; z-index: 2; }
.ipo-home-slide h1 {
    color: var(--ipo-ink);
    font-size: clamp(44px, 5.2vw, 82px);
    line-height: 1.04;
    letter-spacing: -.035em;
    margin: 18px 0 28px;
    max-width: 900px;
}
.ipo-home-slide p { color: var(--ipo-muted); font-size: clamp(18px, 1.35vw, 23px); line-height: 1.65; max-width: 740px; }
.ipo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    font-weight: 700;
}
.ipo-kicker::before { content: ''; width: 34px; height: 2px; background: linear-gradient(90deg, var(--ipo-violet), var(--ipo-copper)); }
.ipo-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin: 26px 0 0;
}
.ipo-stat {
    min-width: 0;
    padding: 0 24px;
    border-left: 1px solid rgba(185,194,219,.32);
}
.ipo-stat:first-child { padding-left: 0; border-left: 0; }
.ipo-stat dt {
    color: #f0ecff;
    font-size: clamp(27px, 2.15vw, 38px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.025em;
}
.ipo-stat dd {
    color: var(--ipo-muted);
    margin: 7px 0 0;
    font-size: 15px;
    line-height: 1.35;
}
.ipo-read-more { margin-top: 28px; }
.ipo-logo-card {
    width: min(100%, 440px);
    margin-left: auto;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 28px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 30px 90px rgba(0,0,0,.4);
    backdrop-filter: blur(16px);
}
.ipo-logo-card img { width: 100%; border-radius: 18px; display: block; }
.ipo-logo-card span { display: block; color: #dce2f4; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; padding-top: 20px; }
.ipo-home-pagination { position: absolute; z-index: 5; bottom: 34px !important; left: 50% !important; transform: translateX(-50%); text-align: center; }
.ipo-home-pagination .swiper-pagination-bullet { width: 9px; height: 9px; background: #fff; opacity: .42; }
.ipo-home-pagination .swiper-pagination-bullet-active { width: 30px; border-radius: 10px; opacity: 1; background: var(--ipo-violet); }
.ipo-home-prev, .ipo-home-next {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    background: rgba(6,10,22,.46);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
}
.ipo-home-prev { left: 24px; }
.ipo-home-next { right: 24px; }
.ipo-home-prev:hover, .ipo-home-next:hover { background: var(--ipo-blue); border-color: var(--ipo-blue); }

.ipo-article { background: #fff; }
.ipo-article-hero {
    position: relative;
    overflow: hidden;
    color: var(--ipo-ink);
    padding: 105px 0;
    background:
        radial-gradient(circle at 75% 30%, rgba(141,108,255,.23), transparent 31%),
        linear-gradient(125deg, #070b18 0%, #101936 58%, #12162b 100%);
}
.ipo-article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; color: #c0c9e4; font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.ipo-article-meta span:first-child { color: #fff; font-weight: 700; }
.ipo-article-hero h1 { color: #fff; font-size: clamp(42px, 5vw, 72px); line-height: 1.08; letter-spacing: -.035em; margin: 22px 0 25px; }
.ipo-article-lead { color: #c5cde2; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.65; max-width: 790px; }
.ipo-article-logo { margin: 0 0 0 auto; width: min(100%, 410px); padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(255,255,255,.08); box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.ipo-article-logo img { width: 100%; display: block; border-radius: 16px; }
.ipo-article-body { padding: 90px 0 110px; }
.ipo-article-body p { color: #3f4960; font-size: 18px; line-height: 1.85; margin-bottom: 28px; }
.ipo-article-body h2 { color: #10162a; font-size: clamp(29px, 3vw, 40px); letter-spacing: -.02em; margin: 52px 0 18px; }
.ipo-dropcap::first-letter { float: left; color: var(--ipo-blue); font-size: 74px; line-height: .78; font-weight: 700; padding: 10px 10px 0 0; }
.ipo-fact-box { margin: 42px 0; padding: 32px 34px; border-radius: 18px; background: #f1f3ff; border: 1px solid #dfe3ff; }
.ipo-fact-box__label { display: block; color: var(--ipo-blue); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-bottom: 17px; }
.ipo-fact-box ul { margin: 0; padding-left: 20px; }
.ipo-fact-box li { color: #29334e; margin: 10px 0; line-height: 1.65; }
.ipo-source-note { margin-top: 58px; padding: 30px 32px; border-left: 4px solid var(--ipo-violet); background: #0d1328; border-radius: 0 15px 15px 0; }
.ipo-source-note strong { color: #fff; font-size: 19px; }
.ipo-source-note p { color: #b9c2d9; font-size: 15px; line-height: 1.7; margin: 10px 0 16px; }
.ipo-source-note a { color: #a99aff; font-weight: 700; }

@media (max-width: 991px) {
    .ipo-home-hero { height: auto; min-height: 720px; }
    .ipo-home-slide { height: auto; min-height: 720px; }
    .ipo-home-slide__inner { padding-top: 95px; padding-bottom: 95px; }
    .ipo-logo-card { margin: 0 auto; max-width: 300px; }
    .ipo-stats { max-width: 100%; }
    .ipo-home-prev, .ipo-home-next { display: none; }
    .ipo-article-hero { padding: 75px 0; }
    .ipo-article-logo { margin: 10px auto 0; max-width: 300px; }
}

@media (max-width: 767px) {
    .ipo-home-slide--markets { background-image: url('../img/mob.png'); }
    .ipo-home-slide--anthropic {
        background: url('../img/promo/background.jpeg');
  background-repeat: no-repeat;
  background-size: 100% 30%;
}
    .ipo-home-slide h1 { font-size: clamp(38px, 11vw, 52px); margin-top: 14px; margin-bottom: 22px; }
    .ipo-home-slide p { font-size: 17px; }
    .ipo-home-slide__inner { padding: 58px 22px 105px; }
    .ipo-home-slide__inner .row { row-gap: 32px !important; }
    .ipo-logo-card { max-width: 260px; padding: 14px; border-radius: 18px; }
    .ipo-logo-card img { border-radius: 12px; }
    .ipo-logo-card span { display: none; }
    .ipo-kicker { font-size: 12px; letter-spacing: .12em; }
    .ipo-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
    .ipo-stat { padding: 0 14px; }
    .ipo-stat:nth-child(2) { border-left: 1px solid rgba(185,194,219,.32); }
    .ipo-stat:nth-child(3) {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(185,194,219,.32);
        margin-top: 18px;
        padding: 18px 0 0;
    }
    .ipo-stat dt { font-size: clamp(28px, 8.5vw, 38px); }
    .ipo-stat dd { font-size: 14px; }
    .ipo-read-more { width: 100%; text-align: center; }
    .ipo-article-hero { padding: 60px 0; }
    .ipo-article-body { padding: 60px 0 80px; }
    .ipo-article-body p { font-size: 17px; }
    .ipo-fact-box, .ipo-source-note { padding: 25px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .ipo-home-hero .swiper-wrapper { transition-duration: 0ms !important; }
}
