@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --background: #141414;
    --surface: #1b1b1c;
    --surface-soft: #202124;
    --text: #ffffff;
    --muted: #a6a6aa;
    --line: rgba(255, 255, 255, 0.12);
    --blue: #4f8cff;
    --pink: #e65aa5;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 14% 15%, rgba(79, 140, 255, 0.08), transparent 31rem),
        radial-gradient(circle at 88% 80%, rgba(230, 90, 165, 0.08), transparent 29rem),
        var(--background);
    color: var(--text);
    font-family: "Lato", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.page-glow {
    position: fixed;
    z-index: 0;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
}

.page-glow-blue {
    top: -18rem;
    left: -13rem;
    background: var(--blue);
}

.page-glow-pink {
    right: -16rem;
    bottom: -18rem;
    background: var(--pink);
}

.migration-page {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1320px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 0 30px;
    flex-direction: column;
    justify-content: center;
}

.migration-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    min-height: 660px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(79, 140, 255, 0.08), transparent 31%),
        linear-gradient(315deg, rgba(230, 90, 165, 0.07), transparent 33%),
        rgba(27, 27, 28, 0.96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.migration-card::before {
    position: absolute;
    top: -180px;
    right: -130px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(79, 140, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(79, 140, 255, 0.025), 0 0 0 100px rgba(79, 140, 255, 0.018);
    content: "";
    pointer-events: none;
}

.migration-copy {
    display: flex;
    padding: clamp(52px, 6vw, 92px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.eyebrow {
    display: flex;
    margin: 0 0 30px;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 30px;
    height: 1px;
    background: var(--blue);
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(54px, 5.7vw, 94px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

h1 .heading-line {
    display: block;
}

h1 .heading-new {
    padding-bottom: 0.08em;
    background: linear-gradient(100deg, var(--blue) 12%, #8171e8 53%, var(--pink) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 640px;
    margin: 30px 0 0;
    color: #e5e5e7;
    font-size: clamp(19px, 1.5vw, 24px);
    line-height: 1.45;
}

.description {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.cta {
    display: inline-flex;
    min-height: 58px;
    margin-top: 34px;
    padding: 0 13px 0 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    align-items: center;
    gap: 22px;
    background: var(--blue);
    color: #101114;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.cta-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    place-items: center;
    background: rgba(20, 20, 20, 0.13);
    font-size: 17px;
}

.cta:hover {
    background: #6aa0ff;
    box-shadow: 0 14px 34px rgba(79, 140, 255, 0.24);
    transform: translateY(-2px);
}

.cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 4px;
}

.services {
    display: flex;
    margin: 30px 0 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.services li {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #a8a8ac;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-change {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: 74px 64px;
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.016);
}

.brand-panel {
    position: relative;
    display: flex;
    min-height: 176px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: rgba(20, 20, 20, 0.58);
}

.brand-panel::after {
    position: absolute;
    top: -50px;
    right: -35px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    content: "";
    filter: blur(18px);
    opacity: 0.12;
}

.brand-panel-old {
    border-color: rgba(255, 255, 255, 0.65);
    background: #f2f4f8;
}

.brand-panel-old::after {
    background: var(--blue);
}

.brand-panel-old .brand-label {
    color: #74777e;
}

.brand-panel-new {
    border-color: rgba(79, 140, 255, 0.42);
    box-shadow: inset 0 0 42px rgba(79, 140, 255, 0.05);
}

.brand-panel-new::after {
    background: var(--pink);
}

.brand-label {
    position: absolute;
    top: 19px;
    left: 22px;
    color: #77777c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-panel img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
}

.brand-panel-new img {
    max-height: 58px;
}

.brand-panel small {
    position: relative;
    z-index: 1;
    margin-top: 17px;
    color: #808085;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-arrow {
    display: flex;
    height: 32px;
    padding: 0 25px;
    align-items: center;
    color: var(--blue);
}

.brand-arrow span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--line), var(--blue));
}

.brand-arrow i {
    display: grid;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(79, 140, 255, 0.42);
    border-radius: 50%;
    place-items: center;
    background: #1b2230;
    font-style: normal;
}

footer {
    display: flex;
    padding: 22px 8px 0;
    align-items: center;
    justify-content: space-between;
    color: #67676b;
    font-size: 12px;
}

footer span {
    color: #8e8e93;
    font-weight: 900;
    letter-spacing: 0.05em;
}

footer p {
    margin: 0;
}

@media (max-width: 1040px) {
    .migration-card {
        grid-template-columns: 1fr;
    }

    .brand-change {
        min-height: auto;
        padding: 50px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .brand-panel {
        min-height: 150px;
    }
}

@media (max-width: 640px) {
    .migration-page {
        width: min(100% - 24px, 560px);
        padding: 12px 0 20px;
        justify-content: flex-start;
    }

    .migration-card {
        min-height: 0;
        border-radius: 24px;
    }

    .migration-copy {
        padding: 48px 24px 40px;
    }

    .eyebrow {
        margin-bottom: 24px;
    }

    h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .lead {
        margin-top: 24px;
        font-size: 18px;
    }

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

    .cta {
        width: 100%;
        justify-content: space-between;
    }

    .services {
        margin-top: 24px;
    }

    .brand-change {
        padding: 34px 20px 38px;
        gap: 16px;
    }

    .brand-panel {
        min-height: 134px;
        padding: 30px 24px 22px;
        border-radius: 18px;
    }

    .brand-panel img,
    .brand-panel-new img {
        max-height: 45px;
    }

    footer {
        justify-content: center;
    }

    footer p {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
