@font-face {
    font-family: Avenir;
    src: url('/assets/fonts/Avenir-Roman.eot');
    src: url('/assets/fonts/Avenir-Roman.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/Avenir-Roman.woff') format('woff'),
         url('/assets/fonts/Avenir-Roman.ttf') format('truetype');
    font-display: swap;
}

:root {
    --coral: #ff785d;
    --coral-dark: #f2502f;
    --teal: #3bb9ae;
    --ink: #434343;
    --muted: #757575;
    --soft: #f6f6f6;
    --footer: #222328;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Avenir, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--coral-dark); }
button, input, select { font: inherit; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    padding: 10px 35px;
    background: transparent;
    transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled,
.not-found-page .site-header,
.blog-page .site-header { background: var(--coral); box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.nav-shell {
    display: flex;
    align-items: center;
    width: min(100%, 1370px);
    min-height: 54px;
    margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 49px; height: 49px; flex: 0 0 49px; }
.brand-text { width: 100px; height: auto; }
.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.primary-nav a {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.primary-nav a:hover { color: var(--coral); }
.site-header.scrolled .primary-nav a:hover,
.not-found-page .primary-nav a:hover,
.blog-page .primary-nav a:hover { color: #fff; text-decoration: underline; }
.primary-nav .top-up-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 7px 18px;
    border: 2px solid var(--coral);
    border-radius: 22px;
}
.site-header.scrolled .top-up-button,
.not-found-page .top-up-button,
.blog-page .top-up-button { border-color: #fff; }
.primary-nav .top-up-button:hover { color: #fff; background: var(--coral); text-decoration: none; }
.site-header.scrolled .top-up-button:hover,
.not-found-page .top-up-button:hover,
.blog-page .top-up-button:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.top-up-button span { font-size: 23px; line-height: 1; }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; }

.home-hero {
    position: relative;
    min-height: 530px;
    background: url('/assets/images/hero-image.webp') center right / cover no-repeat;
}
.hero-copy {
    position: absolute;
    top: 135px;
    left: max(35px, calc((100vw - 1370px) / 2));
    width: min(470px, calc(100% - 70px));
    color: #fff;
}
.hero-copy h1 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
}
.hero-copy p { margin: 0 0 22px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.92); }
.hero-copy strong { display: block; margin-bottom: 12px; font-size: 21px; }
.store-buttons { display: flex; gap: 14px; align-items: center; }
.store-buttons a { display: block; transition: transform .2s ease; }
.store-buttons a:hover { transform: scale(1.04); }
.store-buttons img { display: block; width: 161px; }
.hero-button,
.light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 22px;
    border: 2px solid #fff;
    border-radius: 24px;
    color: #fff;
    background: transparent;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.hero-button:hover,
.light-button:hover { color: var(--coral-dark); background: #fff; }

.section-shell { width: min(100% - 40px, 1180px); margin: 0 auto; }
.reference-section { padding: 54px 0; background: #fff; }
.reference-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.reference-panel h2 { margin: 0 0 14px; font-size: 27px; }
.reference-panel p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.independent-notice {
    padding: 28px;
    border-left: 5px solid var(--coral);
    border-radius: 6px;
    background: var(--soft);
}
.independent-notice h2 { font-size: 22px; }
.rates-section { padding: 44px 0 54px; background: #fff; }
.rates-section h2,
.how-section h2 {
    margin: 0 0 28px;
    text-align: center;
    text-transform: uppercase;
    font-size: 27px;
    letter-spacing: 0;
}
.rates-widget {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 28px rgba(0,0,0,.1);
}
.rates-widget > label { display: block; margin-bottom: 10px; color: var(--muted); }
.rate-controls { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 20px; }
.rate-controls input {
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #cbcbcb;
    border-radius: 9px;
    color: var(--ink);
}
.rate-controls input:focus { outline: 2px solid rgba(255,120,93,.25); border-color: var(--coral); }
.currency-toggle { display: flex; padding: 3px; border: 1px solid #cbcbcb; border-radius: 9px; }
.currency-toggle button {
    min-width: 58px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
}
.currency-toggle button.active { color: #fff; background: var(--coral); }

.how-section { padding: 52px 0 26px; background: var(--soft); }
.steps { display: flex; gap: 20px; padding: 12px 0 24px; overflow-x: auto; scroll-snap-type: x proximity; }
.step { position: relative; flex: 0 0 210px; margin: 0; text-align: center; scroll-snap-align: start; }
.step img { display: block; width: 100%; aspect-ratio: 227 / 404; object-fit: contain; }
.step span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 12px auto 8px;
    border-radius: 50%;
    color: #fff;
    background: var(--coral);
    font-weight: 700;
}
.step p { min-height: 72px; margin: 0; color: var(--muted); line-height: 1.45; }

.testimonials-section {
    position: relative;
    padding: 52px 0;
    background: url('/assets/images/testimonials-image.webp') center / cover no-repeat;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255,120,93,.55), rgba(242,80,47,.94));
}
.testimonials-layout { position: relative; z-index: 1; display: block; }
.testimonial-art { display: none; }
.testimonial-copy h2 { margin: 0 0 28px; text-align: center; color: #fff; font-size: 27px; }
.testimonial-slider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.testimonial-slider blockquote {
    display: block;
    min-width: 0;
    min-height: 255px;
    margin: 0;
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 3px 3px 30px rgba(0,0,0,.15);
}
.testimonial-slider blockquote::before { content: '★★★★★'; display: block; margin-bottom: 13px; color: var(--coral); letter-spacing: 2px; }
.testimonial-slider p { margin: 0 0 16px; color: #888; font-size: 17px; line-height: 1.45; }
.testimonial-slider cite { color: #111; font-size: 19px; font-style: normal; }
.slider-controls { display: none; }
.status-section {
    position: relative;
    padding: 62px 0;
    color: #fff;
    background: url('/assets/images/testimonials-image.webp') center / cover no-repeat;
}
.status-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255,120,93,.58), rgba(242,80,47,.94));
}
.status-copy { position: relative; z-index: 1; width: min(100% - 40px, 760px); text-align: center; }
.status-copy h2 { margin: 0 0 14px; font-size: 30px; }
.status-copy p { margin: 0 auto 24px; font-size: 18px; line-height: 1.65; }

.page-hero {
    display: grid;
    place-items: center;
    min-height: 410px;
    padding: 95px 20px 20px;
    color: #fff;
    background-size: cover;
    background-position: center;
}
.page-hero h1 { margin: 0; font-size: 43px; text-align: center; }
.terms-hero { min-height: 40vh; background-image: url('/assets/images/terms-conditions-image.webp'); }
.faq-hero { min-height: 60vh; background-image: url('/assets/images/faq-hero-image.webp'); background-position: center bottom; }
.rates-hero,
.destination-hero,
.blog-hero { min-height: 320px; background-image: linear-gradient(rgba(36,37,42,.34), rgba(36,37,42,.34)), url('/assets/images/hero-image.webp'); }
.blog-hero { min-height: 250px; }

.legal-content,
.legacy-content {
    width: min(100% - 40px, 960px);
    margin: 0 auto;
    padding: 42px 0 60px;
    color: var(--muted);
    line-height: 1.62;
    overflow-wrap: anywhere;
}
.legal-content h2,
.legal-content h3,
.legacy-content h1,
.legacy-content h2,
.legacy-content h3 { color: var(--ink); }
.legal-content h2,
.legal-content h3 { text-transform: uppercase; }
.legal-content h2 { margin-top: 34px; font-size: 20px; }
.legal-content h3 { margin-top: 30px; font-size: 18px; }
.legal-content b { color: var(--ink); font-size: 14px; }
.archived-copy table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.archived-copy td,
.archived-copy th { min-width: 180px; padding: 12px; border: 1px solid #ddd; vertical-align: top; }
.archived-copy ul,
.archived-copy ol { padding-left: 24px; }
.archived-copy a { text-decoration: underline; }

.faq-content { padding-top: 28px; }
.accordion { margin-bottom: 12px; }
.accordion h2 { margin: 0; }
.accordion h2 button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    padding: 10px 20px 10px 28px;
    border: 1px solid rgba(0,0,0,.3);
    border-radius: 30px;
    color: var(--ink);
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.accordion h2 button:hover { background: var(--soft); }
.accordion-icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; margin-left: 16px; }
.accordion-icon::before,
.accordion-icon::after { content: ''; position: absolute; top: 8px; left: 1px; width: 16px; height: 2px; background: var(--coral); }
.accordion-icon::after { transform: rotate(90deg); transition: transform .2s ease; }
.accordion.open .accordion-icon::after { transform: rotate(0); }
.accordion-body { display: none; padding: 12px 30px 24px; }
.accordion.open .accordion-body { display: block; }

.legacy-content form { margin-top: 24px; }
.legacy-content fieldset { margin: 0; padding: 22px; border: 1px solid #ddd; border-radius: 8px; }
.legacy-content .access {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    border-radius: 50%;
    color: #fff;
    background: var(--teal);
    font-weight: 700;
    text-decoration: none;
}
.legacy-content .w3c { color: var(--muted); font-size: 14px; }
.legacy-content .try-it {
    display: inline-flex;
    min-width: 75px;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    background: var(--coral);
    font-weight: 700;
    text-decoration: none;
}
.legacy-content label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.legacy-content select { width: 100%; max-width: 480px; height: 46px; padding: 0 12px; border: 1px solid #bbb; border-radius: 6px; background: #fff; }
.legacy-content input[type='submit'],
.legacy-content button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 22px;
    border: 0;
    border-radius: 24px;
    color: #fff;
    background: var(--coral);
    text-decoration: none;
}
.country-detail { padding: 55px 20px; text-align: center; background: var(--soft); }
.country-detail h2 { margin: 0 0 20px; font-size: 30px; }
.country-code { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: var(--coral); font-weight: 700; }
.country-detail label { display: block; margin-bottom: 8px; }
.country-detail select { min-width: 180px; height: 44px; padding: 0 12px; border: 1px solid #bbb; border-radius: 5px; background: #fff; }
.country-detail p { width: min(100%, 680px); margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.download-strip { padding: 60px 20px; text-align: center; color: #fff; background: var(--teal); }
.download-strip h2 { margin: 0 0 22px; }
.download-strip p { width: min(100%, 680px); margin: 0 auto; font-size: 18px; }
.reference-copy { min-height: 360px; }
.reference-copy > h1 { margin-top: 0; font-size: 32px; }
.reference-copy p { font-size: 18px; }
.blog-article > h1 { margin-top: 0; font-size: 34px; }
.not-found { min-height: 70vh; padding: 170px 20px 90px; text-align: center; }
.not-found h1 { font-size: 42px; }

.site-footer { padding: 30px 20px 0; color: #a7a7a7; background: var(--footer); }
.footer-shell { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.3fr; gap: 34px; width: min(100%, 1150px); margin: 0 auto; }
.footer-brand p { font-size: 18px; line-height: 1.7; }
.footer-logo { min-height: 60px; }
.footer-column h2 { min-height: 60px; margin: 0; color: #fff; font-size: 19px; }
.footer-column > a { display: block; width: fit-content; margin-bottom: 10px; color: #fff; text-decoration: none; }
.footer-column > a:hover { color: var(--coral); }
.footer-column > p { margin: 0; line-height: 1.65; }
.footer-downloads img { display: block; width: 145px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    width: min(100%, 1150px);
    margin: 26px auto 0;
    padding: 14px 0;
    border-top: 1px solid #4f5158;
    font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 28px; }
.footer-bottom a { color: #a7a7a7; text-decoration: none; }
.footer-bottom a:hover { color: var(--coral); }

@media (max-width: 1040px) {
    .site-header { padding: 10px 20px; }
    .primary-nav { gap: 18px; }
    .primary-nav a { font-size: 15px; }
    .hero-copy { left: 30px; }
    .testimonial-slider { grid-template-columns: repeat(2, 1fr); }
    .testimonial-slider blockquote { min-height: 220px; }
    .footer-shell { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .site-header { padding: 8px 14px; background: var(--coral); }
    .nav-shell { min-height: 49px; }
    .brand-mark { width: 43px; height: 43px; flex-basis: 43px; }
    .brand-text { width: 92px; }
    .menu-toggle { display: block; }
    .primary-nav {
        position: fixed;
        top: 65px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 12px 20px 22px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0,0,0,.16);
    }
    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 10px 0; color: var(--ink); font-size: 16px; }
    .primary-nav a:hover,
    .site-header.scrolled .primary-nav a:hover { color: var(--coral-dark); text-decoration: none; }
    .primary-nav .top-up-button { justify-content: space-between; margin-top: 8px; padding: 8px 16px; border-color: var(--coral); color: var(--coral-dark); }
    .site-header.scrolled .top-up-button { border-color: var(--coral); }
    .home-hero { min-height: 620px; background-position: 63% center; }
    .home-hero::before { content: ''; position: absolute; inset: 0; background: rgba(20,20,20,.42); }
    .hero-copy { top: 105px; left: 20px; width: calc(100% - 40px); }
    .hero-copy h1 { font-size: 32px; line-height: 1.2; }
    .hero-copy p { font-size: 16px; line-height: 1.55; }
    .store-buttons { flex-wrap: wrap; }
    .store-buttons img { width: 145px; }
    .reference-panel { grid-template-columns: 1fr; gap: 28px; }
    .reference-panel p { font-size: 16px; }
    .independent-notice { padding: 22px; }
    .rate-controls { grid-template-columns: 1fr; }
    .currency-toggle { min-height: 45px; }
    .currency-toggle button { flex: 1; }
    .steps { margin-right: -20px; }
    .testimonial-slider { grid-template-columns: 1fr; }
    .testimonial-slider blockquote { min-height: 0; }
    .page-hero { min-height: 300px; }
    .page-hero h1 { font-size: 35px; }
    .faq-hero { min-height: 360px; }
    .terms-hero { min-height: 300px; }
    .accordion h2 button { min-height: 0; padding: 14px 16px; border-radius: 8px; }
    .accordion-body { padding: 8px 16px 22px; }
    .footer-shell { grid-template-columns: 1fr; gap: 20px; }
    .footer-column h2 { min-height: auto; margin-bottom: 12px; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
    .footer-bottom nav { gap: 18px; }
}

@media (max-width: 390px) {
    .hero-copy h1 { font-size: 29px; }
    .store-buttons { gap: 9px; }
    .store-buttons img { width: 135px; }
    .rates-widget { padding: 18px; }
}
