:root {
    --bg: #292264;
    --bg-header: #292264;
    --bg-mobile: #292264;
    --text: #ffffff;
    --text-navy-blue: #292264;
    --text-orange: #FA6400;
    --accent: #FA6400;
    --accent-hover: white;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    background: #f2f2f2;
}

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--bg-header);
    color: var(--text);
}

.topbar {
    max-width: 1440px;
    margin: 0 auto;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 46px;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 46px;
}

.wrapper-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
}

.logo {
    width: 356px;
    height: 50px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
    text-decoration: underline;
}

.desktop-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
    border: 2px solid #FA6400;
}

.desktop-nav .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--text-orange);
    opacity: 1;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1100;
}

.menu-toggle span {
    position: absolute;
    left: 10px;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle span:nth-child(1) {
    top: 14px;
}

.menu-toggle span:nth-child(2) {
    top: 22px;
}

.menu-toggle span:nth-child(3) {
    top: 30px;
}

.menu-toggle.active span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-mobile);
    border-top: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px 20px;
}

.mobile-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .nav-cta {
    margin-top: 40px;
    padding: 14px 16px;
    border-radius: 6px;
    background: var(--accent);
    border-bottom: none;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
}

.mobile-nav .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--text-orange);
}

.hero-invest {
    position: relative;
    min-height: 712px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-image: url('/revolut/img/main-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-invest__wrapper {
    display: flex;

}

.hero-invest::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-invest .wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-invest__content {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(32px, 20vw, 60px) 0;
    max-width: 585px;
}

.hero-invest__eyebrow {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.95;
}

.hero-invest__title {
    margin: 0 0 28px;
    font-size: clamp(42px, 7vw, 46px);
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
    max-width: 618px;
}

.hero-invest__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    max-width: 100%;
    padding: 0 28px;
    border-radius: 8px;
    background: #FA6400;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
    border: 2px solid #FA6400;
}

.hero-invest__cta:hover {
    transform: translateY(-1px);
    background: #ffffff;
    color: #FA6400;
}

.hero-invest__cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

.hero-invest__cta-text {
    display: block;
    white-space: normal;
}

.hero-invest__cta-arrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background-color: currentColor;

    -webkit-mask-image: url("/revolut/img/arrow-right.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("/revolut/img/arrow-right.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.revolut-tax-items {
    padding: 96px 0;
    background: #ffffff;
}

.revolut-tax-items__title {
    margin: 0 0 20px;
    max-width: 900px;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
    color: #2d2a72;
}

.revolut-tax-items__lead {
    margin: 0 0 56px;
    max-width: 960px;
    font-size: 24px;
    line-height: 1.45;
    color: #3d3a7d;
}

.revolut-tax-items__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.revolut-tax-items__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(25% - 18px);
    min-height: 200px;
    padding: 28px 24px 20px;
    border: 1px solid rgba(45, 42, 114, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: left 24px top 18px;
    background-size: 104px auto;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.revolut-tax-items__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(228, 228, 235, 0.7) 0%,
        rgba(236, 236, 242, 0.5) 38%,
        rgba(243, 243, 246, 0) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.revolut-tax-items__card > * {
    position: relative;
    z-index: 1;
}

.revolut-tax-items__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(45, 42, 114, 0.12);
    background-color: #f7f7fa;
}

.revolut-tax-items__card-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    color: #2d2a72;
}

.revolut-tax-items__card-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: #3d3a7d;
}

.revolut-tax-items__cta {
    margin-top: 8px;
}

.revolut-tax-items__card--1 {
    background-image: url("/revolut/img/1.svg");
    background-size: 61px auto;
}

.revolut-tax-items__card--2 {
    background-image: url("/revolut/img/2.svg");
    background-size: 95px auto;
}

.revolut-tax-items__card--3 {
    background-image: url("/revolut/img/3.svg");
}

.revolut-tax-items__card--4 {
    background-image: url("/revolut/img/4.svg");
}

.revolut-tax-items__card--5 {
    background-image: url("/revolut/img/5.svg");
}

.revolut-tax-items__card--6 {
    background-image: url("/revolut/img/6.svg");
}

.revolut-tax-items__card--7 {
    background-image: url("/revolut/img/7.svg");
    background-size: 90px auto;
}

.revolut-tax-items__card--8 {
    background-image: url("/revolut/img/8.svg");
}

.revolut-info {
    padding: 96px 0;
    background: #f3f3f6;
}

.revolut-info__grid {
    display: flex;
    gap: 80px;
}

.revolut-info__intro {
    flex: 0 0 420px;
}

.revolut-info__title {
    margin: 0 0 24px;
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 700;
    color: #2d2a72;
}

.revolut-info__lead {
    margin: 0;
    font-size: 24px;
    line-height: 1.5;
    color: #3d3a7d;
}

.revolut-info__content {
    flex: 1;
}

.revolut-info__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 2px solid rgba(45, 42, 114, 0.1);
}

.revolut-info__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.revolut-info__item .revolut-info__icon {
    background-image: url('/revolut/img/check_circle.svg');
}

.revolut-info__text h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #2d2a72;
}

.revolut-info__text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #3d3a7d;
}

.revolut-info__cta {
    margin-top: 0px;
}

.revolut-steps {
    padding: 96px 0;
    color: #ffffff;

    background: #4a4a4a;
    background: linear-gradient(180deg,rgba(51, 51, 51, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.revolut-steps__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;
    max-width: 936px;
}

.revolut-steps__lead {
    margin: 0 0 56px;
    max-width: 675px;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
}

.revolut-steps__list {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
}

.revolut-steps__card {
    position: relative;
    flex: 1;
    padding: 28px;
    border-radius: 16px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);

    background: #4a4a4a;
    background: radial-gradient(circle at center 280px, rgba(74, 74, 74, 1) 0%, rgba(0, 0, 0, 1) 80%);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.revolut-steps__card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.revolut-steps__badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    background: var(--text-orange);
    color: #fff;
}

.revolut-steps__card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.revolut-steps__desc {
    margin: 0 0 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.revolut-steps__media {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 160px;
}

.revolut-steps__media img {
    max-width: 100%;
    height: auto;
    display: block;
}

.revolut-steps__card:hover {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(255,115,0,0.15);
}

.revolut-steps__img-revolut {
    margin-top: 40px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: linear-gradient(to bottom, #222222 60%, #555050) border-box, black padding-box;
}

.revolut-steps__img-laptop {
    margin-top: 40px;
}

.revolut-steps__img-pit {
    background:
        linear-gradient(to top, rgba(0,0,0,0.7), transparent),
        url('/revolut/img/pit.png');

    background-size: cover;
    background-position: center;
    margin: 45px auto 0;
    width: 251px;
    height: 232px;
}

.cta-banner {
    padding: 64px 0;
    background: #FF7B23;
    background: linear-gradient(90deg,rgba(255, 123, 35, 1) 25%, rgba(228, 91, 0, 0.96) 100%);
}

.cta-banner__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-banner .hero-invest__cta {
    font-size: 24px;
    padding: 20px 36px;
    min-height: 72px;
}

.site-footer {
    position: relative;
    padding: 80px 0 40px;
    color: #ffffff;
    overflow: hidden;
    background: var(--bg);
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.site-footer::before {
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.06) 0%,
        transparent 40%
    );
}

.site-footer::after {
    background: linear-gradient(
        240deg,
        rgba(255,255,255,0.05) 0%,
        transparent 50%
    );
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 120px;
}

.site-footer__logo img {
    height: 40px;
    width: auto;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}

.site-footer__nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: #ffffff;
}

.site-footer__bottom {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
}

.site-footer__bottom a {
    color: #ffffff;
    text-decoration: underline;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--bg);
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.15;
    margin: 35px 0px 0px;
}

.read-more-link.white {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.15;
    margin: 35px 0px 0px;
}

.read-more-link__text {
    display: block;
}

.read-more-link:hover {
    text-decoration: underline;
}

.read-more-link__arrow {
    flex: 0 0 auto;
    width: 26px;
    height: 20px;
    background-color: currentColor;

    -webkit-mask: url("/revolut/img/arrow-right.svg") no-repeat center / contain;
    mask: url("/revolut/img/arrow-right.svg") no-repeat center / contain;
}

@media (max-width: 1350px) {
    .hero-invest__content {
        padding: 0px 0 180px 0;
    }
}

@media (min-width: 1201px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .topbar {
        height: 100px;
        padding: 0 46px;
    }

    .mobile-nav {
        top: 100px;
    }

    .mobile-nav-inner {
        padding: 12px 16px 18px;
    }

    .revolut-tax-items {
        padding: 80px 0;
    }

    .revolut-tax-items__lead {
        margin-bottom: 44px;
        font-size: 20px;
    }

    .revolut-tax-items__card {
        width: calc(50% - 12px);
    }

    .revolut-tax-items__card-title {
        font-size: 22px;
    }

    .revolut-info {
        padding: 80px 0;
    }

    .revolut-info__grid {
        gap: 48px;
    }

    .revolut-info__intro {
        flex: 0 0 360px;
    }
}

@media (max-width: 991px) {
    .topbar {
        height: 100px;
        padding: 0 24px;
    }

    .wrapper {
        padding: 0 24px;
    }

    .hero-invest {
        min-height: 620px;
    }

    .hero-invest__content {
        min-height: 620px;
        padding: 0px 0 160px;
        max-width: 680px;
    }

    .hero-invest__eyebrow {
        margin-bottom: 22px;
        font-size: 17px;
    }

    .hero-invest__title {
        margin-bottom: 24px;
        line-height: 1;
    }

    .hero-invest__cta {
        font-size: 20px;
        min-height: 64px;
        padding: 16px 24px;
    }

    .revolut-info__grid {
        flex-direction: column;
        gap: 40px;
    }

    .revolut-info__intro {
        flex: unset;
        max-width: 600px;
    }

    .revolut-steps {
        padding: 72px 0;
    }

    .revolut-steps__list {
        flex-direction: column;
    }

    .revolut-steps__card {
        min-height: 320px;
    }

    .revolut-steps__card h3 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .hero-invest {
        min-height: 560px;
        background-image: url(/revolut/img/main-bg-mobile.png);
    }

    .hero-invest__img {
        padding-top: 30px;
    }

    .hero-invest__media {
        order: 1;
    }

    .hero-invest__content {
        order: 2;
    }

    .hero-invest__content {
        min-height: 560px;
        padding: 5px 0 75px;
        max-width: 100%;
    }

    .hero-invest__eyebrow {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-invest__title {
        margin-bottom: 20px;
        font-size: clamp(36px, 11vw, 56px);
        line-height: 1.2;
        max-width: 100%;
    }

    .hero-invest__cta {
        width: min(100%, 360px);
        min-height: 60px;
        padding: 14px 18px;
        font-size: 18px;
        line-height: 1.25;
        white-space: normal;
    }

    .hero-invest__cta {
        width: min(100%, 360px);
        padding: 14px 18px;
        font-size: 18px;
        line-height: 1.25;
        align-items: center;
    }

    .hero-invest__cta-text {
        min-width: 0;
    }

    .hero-invest__cta-arrow {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

    .revolut-tax-items {
        padding: 56px 0;
    }

    .revolut-tax-items__title {
        margin-bottom: 16px;
        font-size: 30px;
    }

    .revolut-tax-items__lead {
        margin-bottom: 32px;
        font-size: 18px;
        line-height: 1.55;
    }

    .revolut-tax-items__list {
        gap: 16px;
        margin-bottom: 32px;
    }

    .revolut-tax-items__card {
        width: 100%;
        min-height: 180px;
        padding: 24px 20px 18px;
        background-position: left 20px top 16px;
        background-size: 90px auto;
    }

    .revolut-tax-items__card-title {
        font-size: 20px;
    }

    .revolut-tax-items__card-text {
        font-size: 15px;
    }

    .revolut-info {
        padding: 56px 0;
    }

    .revolut-info__title {
        font-size: 30px;
    }

    .revolut-info__lead {
        font-size: 18px;
    }

    .revolut-info__item {
        padding: 20px 0;
        gap: 16px;
    }

    .revolut-info__icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .revolut-info__text h3 {
        font-size: 18px;
    }

    .revolut-info__text p {
        font-size: 15px;
    }

    .revolut-steps {
        padding: 56px 0;
    }

    .revolut-steps__lead {
        font-size: 18px;
    }

    .revolut-steps__card {
        padding: 22px;
    }

    .revolut-steps__card h3 {
        font-size: 22px;
    }

    .cta-banner {
        padding: 48px 0;
        box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .cta-banner .hero-invest__cta {
        font-size: 18px;
        padding: 16px 20px;
        min-height: 60px;
        width: 100%;
        max-width: 360px;
    }

    .hero-invest__wrapper {
        display: flex;
        flex-direction: column;
    }

    .site-footer {
        padding: 56px 0 32px;
    }

    .site-footer__top {
        flex-direction: column;
        gap: 60px;
        margin-bottom: 64px;
        align-items: center;
    }

    .site-footer__nav {
        text-align: center;
    }

    .site-footer__logo img {
        height: 48px;
    }

    .site-footer__bottom {
        text-align: center;
    }

    .read-more-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: left;
        font-size: 18px;
        line-height: 26px;
    }

    .read-more-link__arrow {
        width: 26px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-invest {
        min-height: 520px;
    }

    .hero-invest__content {
        min-height: 400px;
        padding: 0px 0 25px;
    }

    .hero-invest__eyebrow {
        font-size: 14px;
    }

    .hero-invest__title {
        font-size: 32px;
    }

    .hero-invest__cta {
        width: 100%;
        font-size: 17px;
        padding: 14px 16px;
    }

    .hero-invest__cta {
        width: 100%;
        font-size: 17px;
        padding: 14px 16px;
    }

    .revolut-tax-items__card {
        min-height: 168px;
        background-size: 76px auto;
    }

    .revolut-tax-items__card--1 {
        min-height: 168px;
        background-size: 50px auto;
    }

    .revolut-tax-items__card-title {
        font-size: 18px;
    }
}
