:root {
    --rep-ink: #0a0a0a;
    --rep-dark: #05070b;
    --rep-navy: #0f172a;
    --rep-white: #ffffff;
    --rep-paper: #f6f8fb;
    --rep-muted: #64748b;
    --rep-line: #e2e8f0;
    --rep-cyan: #0ea5e9;
    --rep-cyan-soft: rgba(14, 165, 233, 0.1);
    --rep-heading: "Outfit", "Inter", sans-serif;
    --rep-body: "Inter", sans-serif;
    --rep-transition: cubic-bezier(0.16, 1, 0.3, 1);
}

.rep-page,
.rep-page *,
.rep-page *::before,
.rep-page *::after {
    box-sizing: border-box;
}

.rep-page {
    overflow: hidden;
    background: var(--rep-white);
    color: var(--rep-ink);
    font-family: var(--rep-body);
    white-space: normal;
}

.rep-page h1,
.rep-page h2,
.rep-page h3,
.rep-page p,
.rep-page span {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
}

.rep-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.rep-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--rep-white);
    background:
        radial-gradient(circle at 78% 24%, rgba(14, 165, 233, 0.22), transparent 25%),
        linear-gradient(125deg, #050505 0%, #0b1220 62%, #06111a 100%);
}

.rep-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -330px;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 72px rgba(125, 211, 252, 0.025),
        0 0 0 148px rgba(125, 211, 252, 0.015);
}

.rep-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, #000, transparent 86%);
}

.rep-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
}

.rep-hero__eyebrow {
    margin: 0 0 24px;
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rep-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--rep-heading);
    font-size: clamp(36px, 5.5vw, 76px);
    font-weight: 950;
    line-height: 0.94;
    letter-spacing: -0.055em;
    word-break: break-word;
}

.rep-hero h2 {
    max-width: 840px;
    margin: 30px 0 0;
    font-family: var(--rep-heading);
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.rep-hero__summary {
    max-width: 780px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.75;
}

.rep-grid-section {
    padding: 104px 0;
    background: var(--rep-white);
}

.rep-section-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.rep-section-heading h2 {
    margin: 0;
    font-family: var(--rep-heading);
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.rep-section-heading p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--rep-muted);
    font-size: 16px;
    line-height: 1.7;
}

.rep-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    min-width: 0;
}

.rep-card {
    position: relative;
    min-width: 0;
    min-height: 430px;
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid var(--rep-line);
    border-radius: 24px;
    background: var(--rep-paper);
    transition: transform 250ms var(--rep-transition), border-color 250ms ease, box-shadow 250ms ease;
    display: flex;
    flex-direction: column;
}

.rep-card::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 50%;
}

.rep-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.09);
}

.rep-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.rep-card__logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 18px;
    background: var(--rep-white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.rep-card__logo img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.rep-card__placeholder {
    font-size: 20px;
    font-weight: 800;
    color: #0284c7;
    text-transform: uppercase;
}

.rep-card__body {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rep-card h3 {
    margin: 42px 0 16px;
    font-family: var(--rep-heading);
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.rep-card__details {
    display: grid;
    gap: 12px;
    margin: 0 0 24px 0;
}

.rep-card__details p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.rep-card__details strong {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rep-card__footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.rep-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: var(--rep-white);
    border: 1px solid var(--rep-line);
    color: var(--rep-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rep-card__btn:hover {
    background: var(--rep-white);
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rep-cta {
    padding-top: 24px;
    padding-bottom: 104px;
    background: var(--rep-white);
}

.rep-cta__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(30px, 5vw, 68px);
    align-items: center;
    padding: clamp(42px, 6vw, 72px);
    overflow: hidden;
    border-radius: 28px;
    color: var(--rep-white);
    background:
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.24), transparent 28%),
        linear-gradient(135deg, #111827, #050505 75%);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.rep-cta__panel h2 {
    margin: 0;
    font-family: var(--rep-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--rep-white);
}

.rep-cta__panel p {
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.72;
}

.rep-cta__button {
    min-width: 220px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border-radius: 14px;
    background: var(--rep-white);
    color: var(--rep-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 220ms var(--rep-transition), background 220ms ease;
}

.rep-cta__button svg {
    width: 19px;
    height: 19px;
}

.rep-cta__button:hover {
    transform: translateY(-3px);
    background: #e2e8f0;
}

.rep-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms var(--rep-transition),
        transform 700ms var(--rep-transition);
}

.rep-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rep-grid .rep-reveal:nth-child(2) {
    transition-delay: 80ms;
}
.rep-grid .rep-reveal:nth-child(3) {
    transition-delay: 160ms;
}
.rep-grid .rep-reveal:nth-child(4) {
    transition-delay: 240ms;
}
.rep-grid .rep-reveal:nth-child(5) {
    transition-delay: 320ms;
}

@media (max-width: 980px) {
    .rep-hero {
        min-height: 610px;
    }
    .rep-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .rep-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .rep-hero {
        min-height: auto;
    }

    .rep-hero__content {
        padding-top: 82px;
        padding-bottom: 82px;
    }

    .rep-hero h1 {
        font-size: clamp(32px, 10vw, 46px);
        word-break: break-word;
    }

    .rep-hero h2 {
        font-size: 25px;
    }

    .rep-hero__summary {
        font-size: 15px;
        line-height: 1.65;
    }

    .rep-grid-section,
    .rep-cta {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .rep-grid,
    .rep-cta__panel {
        grid-template-columns: 1fr;
    }

    .rep-section-heading {
        margin-bottom: 36px;
    }

    .rep-section-heading h2,
    .rep-cta__panel h2 {
        font-size: 34px;
    }

    .rep-card {
        padding: 28px 24px;
    }

    .rep-card h3 {
        margin-top: 34px;
        font-size: 29px;
    }

    .rep-cta {
        padding-top: 0;
    }

    .rep-cta__panel {
        gap: 28px;
        padding: 34px 24px;
        border-radius: 20px;
    }

    .rep-cta__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rep-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rep-card,
    .rep-cta__button {
        transition: none;
    }
}
