.fx-rates-template-how-it-works-section {
    padding: 80px 0;
    background-color: #fff;
}

.frthiw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Visual (decorative) */
.frthiw-visual {
    background: #EAF6F8;
    border-radius: 16px;
    padding: 24px;
}

.frthiw-visual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 88px);
    gap: 12px;
}

.frthiw-tile {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    box-sizing: border-box;
}

.frthiw-tile--buying,
.frthiw-tile--selling {
    grid-column: span 2;
    background: #fff;
    box-shadow: 0 4px 12px rgba(7, 79, 85, 0.08);
}

.frthiw-tile-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4C6769;
}

.frthiw-tile-value {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 500;
    color: #16373d;
}

.frthiw-tile-value.frthiw-calculating {
    color: #FF5900;
}

.frthiw-tile-code {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    color: #4C6769;
}

.frthiw-tile--accent {
    grid-column: 3 / span 1;
    grid-row: 1 / span 2;
    align-items: center;
    justify-content: center;
    background: #FF5900;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.frthiw-tile--code {
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #074F55;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.65;
}

.frthiw-tile--code-1 { grid-column: 4 / span 1; grid-row: 1 / span 1; }
.frthiw-tile--code-2 { grid-column: 4 / span 1; grid-row: 2 / span 1; }
.frthiw-tile--code-3 { grid-column: 2 / span 1; grid-row: 3 / span 1; opacity: 0.4; }
.frthiw-tile--code-4 { grid-column: 4 / span 1; grid-row: 3 / span 1; opacity: 0.4; }

/* Content */
.frthiw-label {
    margin: 0 0 16px;
    color: #4C6769;
    font-family: "Source Code Pro", monospace;
    font-size: 13px;
    font-weight: 400;
    line-height: 130%;
    text-transform: uppercase;
}

.frthiw-heading {
    margin: 0 0 20px;
    color: #074F55;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.frthiw-description {
    margin: 0 0 32px;
    color: #4C6769;
    font-size: 18px;
    line-height: 1.5;
    max-width: 520px;
}

.frthiw-bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.frthiw-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #16373d;
}

.frthiw-check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 1199px) {
    .frthiw-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .frthiw-visual {
        order: -1;
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    .fx-rates-template-how-it-works-section {
        padding: 48px 0;
    }

    .frthiw-visual-grid {
        grid-template-rows: repeat(3, 68px);
        gap: 8px;
    }

    .frthiw-tile-value {
        font-size: 18px;
    }

    .frthiw-description {
        max-width: none;
    }
}
