/* FAQ page.
   One centred column on the light gradient canvas: the heading, a search
   box, one glass card per section with the questions as accordion rows,
   then the reviews. Plus Jakarta Sans for headings, questions and buttons,
   Inter for the answers. */

/* Tokens */

.fq {
    --fq-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fq-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --fq-ink: #0b1220;
    --fq-ink-2: #253247;
    --fq-ink-3: #3f4d66;

    --fq-line: rgba(30, 58, 138, 0.1);
    --fq-line-strong: #cbd6e8;

    --fq-blue: #2563eb;
    --fq-blue-deep: #1d4ed8;
    --fq-blue-ink: #1e3a8a;
    --fq-blue-soft: #e8f0ff;
    --fq-blue-tint: #f4f7ff;

    --fq-green: #059669;
    --fq-green-deep: #047857;
    --fq-green-soft: #ecfdf5;
    --fq-gold: #b45309;

    --fq-radius-card: 26px;
    --fq-radius-lg: 18px;
    --fq-radius-md: 14px;

    --fq-glass: rgba(255, 255, 255, 0.78);
    --fq-shadow-card:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 60px -34px rgba(30, 58, 138, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --fq-ring: 0 0 0 4px rgba(37, 99, 235, 0.16);
    --fq-ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Everything below grows with this factor on wide screens (see the
       media queries at the end of the tokens), so a 27 inch monitor gets a
       wider column and larger type instead of a small island of text: two
       gentle steps, then the page stops growing and the extra width becomes
       margin. */
    --fq-scale: 1;
}

@media (min-width: 1600px) {
    .fq { --fq-scale: 1.08; }
}

@media (min-width: 1800px) {
    .fq { --fq-scale: 1.16; }
}

/* Canvas */
.fq {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    padding: calc(56px * var(--fq-scale)) 16px calc(72px * var(--fq-scale));
    font-family: var(--fq-font-body);
    color: var(--fq-ink);
    font-size: calc(17px * var(--fq-scale));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(640px 360px at 50% 0%, rgba(147, 197, 253, 0.5), rgba(147, 197, 253, 0) 100%),
        radial-gradient(900px 560px at 10% 2%, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0) 100%),
        radial-gradient(760px 520px at 92% 8%, rgba(167, 139, 250, 0.24), rgba(167, 139, 250, 0) 100%),
        radial-gradient(700px 480px at 50% 100%, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0) 100%),
        linear-gradient(180deg, #f5f8ff 0%, #eef3fb 100%);
}

.fq,
.fq * {
    box-sizing: border-box;
}

/* The site sheet puts its own faces on every element through universal
   rules; inside this page everything inherits the page font instead. */
.fq * {
    font-family: inherit;
}

.fq [hidden] {
    display: none !important;
}

.fq__col {
    max-width: calc(720px * var(--fq-scale));
    margin: 0 auto;
}

.fq__col > * {
    margin: 0;
}

/* Heading */

.fq-head {
    text-align: center;
    margin-bottom: calc(44px * var(--fq-scale));
}

.fq-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px var(--fq-line), 0 10px 24px -18px rgba(30, 58, 138, 0.6);
    color: var(--fq-blue-deep);
    font-size: calc(13.5px * var(--fq-scale));
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.fq-head__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fq-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.fq-head__title {
    font-family: var(--fq-font-display);
    font-size: clamp(30px, 5.4vw, calc(40px * var(--fq-scale)));
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--fq-ink);
    margin: calc(24px * var(--fq-scale)) 0 0;
    text-wrap: balance;
}

.fq-head__title .faqxHero__accent {
    display: block;
    margin-top: 6px;
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--fq-blue-deep);
}

.fq-head__lead {
    max-width: calc(620px * var(--fq-scale));
    margin: calc(20px * var(--fq-scale)) auto 0;
    font-size: calc(17.5px * var(--fq-scale));
    font-weight: 500;
    line-height: 1.65;
    color: var(--fq-ink-2);
    text-wrap: pretty;
}

.fq-head__lead a,
.fq-a__inner a {
    color: var(--fq-blue-deep);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(37, 99, 235, 0.3);
    transition: color 0.2s var(--fq-ease), border-color 0.2s var(--fq-ease);
}

.fq-head__lead a:hover,
.fq-a__inner a:hover {
    color: var(--fq-blue-ink);
    border-bottom-color: var(--fq-blue-ink);
    text-decoration: none;
}

/* Trust chips under the heading */
.fq-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: calc(26px * var(--fq-scale)) 0 0;
    padding: 0;
    list-style: none;
}

.fq-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: calc(8px * var(--fq-scale)) calc(11px * var(--fq-scale));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px var(--fq-line);
    font-size: calc(13.5px * var(--fq-scale));
    font-weight: 600;
    line-height: 1.2;
    color: var(--fq-ink-2);
    white-space: nowrap;
}

.fq-chip svg {
    width: calc(16px * var(--fq-scale));
    height: calc(16px * var(--fq-scale));
    flex: 0 0 auto;
    color: var(--fq-green);
}

/* Tablets and up: the three promises always share one line */
@media (min-width: 768px) {
    .fq-chips {
        flex-wrap: nowrap;
        gap: 8px;
    }
}

/* Cards */

.fq-card {
    position: relative;
    background: var(--fq-glass);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--fq-radius-card);
    box-shadow: var(--fq-shadow-card), 0 0 0 1px var(--fq-line);
    padding: calc(28px * var(--fq-scale));
}

.fq-card + .fq-card {
    margin-top: calc(28px * var(--fq-scale));
}

.fq-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: calc(22px * var(--fq-scale));
}

.fq-card__icon {
    display: inline-grid;
    place-items: center;
    width: calc(46px * var(--fq-scale));
    height: calc(46px * var(--fq-scale));
    flex: 0 0 auto;
    border-radius: 15px;
    background: linear-gradient(150deg, #e8f0ff 0%, #ffffff 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: inset 0 1px 0 #ffffff, 0 8px 18px -14px rgba(30, 58, 138, 0.7);
    color: var(--fq-blue-deep);
}

.fq-card__icon svg {
    width: calc(23px * var(--fq-scale));
    height: calc(23px * var(--fq-scale));
}

.fq-card__heading {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fq-card__step {
    font-size: calc(12.5px * var(--fq-scale));
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--fq-blue-deep);
}

.fq-card__title {
    font-family: var(--fq-font-display);
    font-size: calc(23px * var(--fq-scale));
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fq-ink);
    margin: 0;
}

.fq-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 15px;
    border: 0;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--fq-blue-deep);
    font-family: var(--fq-font-display);
    font-size: calc(14.5px * var(--fq-scale));
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s var(--fq-ease), color 0.2s var(--fq-ease), transform 0.2s var(--fq-ease);
}

.fq-card__link svg {
    width: 15px;
    height: 15px;
}

.fq-card__link:hover {
    background: rgba(37, 99, 235, 0.14);
    color: var(--fq-blue-ink);
    transform: translateY(-1px);
}

.fq-card__link:focus-visible {
    outline: none;
    box-shadow: var(--fq-ring);
}

/* Search */

.fq-search {
    margin-bottom: calc(28px * var(--fq-scale));
}

.fq-search__wrap {
    position: relative;
}

.fq-search__wrap > svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 21px;
    height: 21px;
    transform: translateY(-50%);
    color: var(--fq-ink-3);
    pointer-events: none;
    transition: color 0.2s var(--fq-ease);
}

.fq-search__wrap:focus-within > svg {
    color: var(--fq-blue-deep);
}

.fq-search__input {
    display: block;
    width: 100%;
    height: calc(58px * var(--fq-scale));
    margin: 0;
    padding: 0 54px 0 52px;
    border: 1.5px solid var(--fq-line-strong);
    border-radius: var(--fq-radius-md);
    background: #ffffff;
    color: var(--fq-ink);
    font-size: calc(17px * var(--fq-scale));
    font-weight: 500;
    line-height: 1;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s var(--fq-ease), box-shadow 0.2s var(--fq-ease);
}

.fq-search__input::placeholder {
    color: #7c8aa5;
    opacity: 1;
}

.fq-search__input:hover {
    border-color: #a9b8d4;
}

.fq-search__input:focus {
    border-color: var(--fq-blue);
    box-shadow: var(--fq-ring);
}

.fq-search__input::-webkit-search-cancel-button,
.fq-search__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.fq-search__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 11px;
    background: var(--fq-blue-tint);
    color: var(--fq-blue-deep);
    cursor: pointer;
    transition: background-color 0.2s var(--fq-ease), transform 0.2s var(--fq-ease);
}

.fq-search__clear svg {
    width: calc(16px * var(--fq-scale));
    height: calc(16px * var(--fq-scale));
}

.fq-search__clear:hover {
    background: var(--fq-blue-soft);
}

.fq-search__clear:focus-visible {
    outline: none;
    box-shadow: var(--fq-ring);
}

.fq-search__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 0;
    font-size: calc(14.5px * var(--fq-scale));
    font-weight: 500;
    line-height: 1.4;
    color: var(--fq-ink-3);
}

.fq-search__meta strong {
    font-weight: 700;
    color: var(--fq-ink);
}

/* Section jump chips */
.fq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.fq-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--fq-line-strong);
    color: var(--fq-ink-2);
    font-size: calc(14px * var(--fq-scale));
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s var(--fq-ease), color 0.2s var(--fq-ease), background-color 0.2s var(--fq-ease), transform 0.2s var(--fq-ease);
}

.fq-nav a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fq-blue);
    opacity: 0.7;
}

.fq-nav a:hover {
    border-color: var(--fq-blue);
    background: var(--fq-blue-tint);
    color: var(--fq-blue-ink);
    text-decoration: none;
    transform: translateY(-1px);
}

.fq-nav a:focus-visible {
    outline: none;
    box-shadow: var(--fq-ring);
}

.fq-nav li.is-off a {
    opacity: 0.45;
}

/* Empty search result */
.fq-empty {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--fq-radius-lg);
    background: var(--fq-blue-tint);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.fq-empty__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 13px;
    background: #ffffff;
    color: var(--fq-blue-deep);
    box-shadow: 0 8px 18px -14px rgba(30, 58, 138, 0.6);
}

.fq-empty__icon svg {
    width: 21px;
    height: 21px;
}

.fq-empty__title {
    margin: 0 0 3px;
    font-family: var(--fq-font-display);
    font-size: calc(17.5px * var(--fq-scale));
    font-weight: 800;
    color: var(--fq-ink);
}

.fq-empty__text {
    margin: 0;
    font-size: calc(15.5px * var(--fq-scale));
    font-weight: 500;
    line-height: 1.5;
    color: var(--fq-ink-2);
}

.fq-empty__text strong {
    color: var(--fq-ink);
}

/* Questions */

.fq-list {
    display: flex;
    flex-direction: column;
}

.fq-item {
    border-top: 1px solid var(--fq-line);
}

.fq-item:first-child {
    border-top: 0;
}

.fq-q {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.fq-q__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: calc(18px * var(--fq-scale)) 4px calc(18px * var(--fq-scale)) 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--fq-ink);
    font-family: var(--fq-font-display);
    font-size: calc(17.5px * var(--fq-scale));
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s var(--fq-ease);
}

.fq-q__btn:hover {
    color: var(--fq-blue-ink);
}

.fq-q__btn:focus-visible {
    outline: none;
    box-shadow: var(--fq-ring);
}

.fq-q__text {
    flex: 1 1 auto;
    min-width: 0;
}

.fq-q__disc {
    display: inline-grid;
    place-items: center;
    width: calc(34px * var(--fq-scale));
    height: calc(34px * var(--fq-scale));
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--fq-line);
    box-shadow: 0 8px 18px -12px rgba(30, 58, 138, 0.6);
    color: var(--fq-blue-deep);
    transition: transform 0.3s var(--fq-ease), background-color 0.2s var(--fq-ease), color 0.2s var(--fq-ease);
}

.fq-q__disc svg {
    width: calc(16px * var(--fq-scale));
    height: calc(16px * var(--fq-scale));
}

.fq-q__btn:hover .fq-q__disc {
    background: var(--fq-blue-tint);
}

.fq-q__btn[aria-expanded="true"] .fq-q__disc {
    transform: rotate(180deg);
    background: var(--fq-blue-deep);
    color: #ffffff;
    border-color: var(--fq-blue-deep);
}

/* Answers open with a soft height animation */
.fq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.34s var(--fq-ease);
}

.fq-a.is-open {
    grid-template-rows: 1fr;
}

.fq-a__inner {
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0.34s;
}

.fq-a.is-open .fq-a__inner {
    visibility: visible;
}

.fq-a__body {
    padding: 2px 4px calc(24px * var(--fq-scale)) 0;
    font-size: calc(16.5px * var(--fq-scale));
    font-weight: 500;
    line-height: 1.65;
    color: var(--fq-ink-2);
}

.fq-a__body p,
.fq-a__body ul,
.fq-a__body ol {
    margin: 0 0 12px;
}

.fq-a__body > *:last-child,
.fq-a__body .accText > *:last-child {
    margin-bottom: 0;
}

.fq-a__body ul,
.fq-a__body ol {
    padding-left: 22px;
}

.fq-a__body li {
    margin: 0 0 6px;
}

.fq-a__body li::marker {
    color: var(--fq-blue);
}

.fq-a__body strong,
.fq-a__body b {
    font-weight: 700;
    color: var(--fq-ink);
}

/* Key facts list used by the first item of a section */
.fq-a__body .majorFaq {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    padding: 14px 16px;
    border-radius: var(--fq-radius-md);
    background: var(--fq-green-soft);
    border: 1px solid rgba(5, 150, 105, 0.14);
}

.fq-a__body .majorFaq:last-child {
    margin-bottom: 0;
}

.fq-a__body .majorFaq::before {
    content: '';
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background-color: var(--fq-green);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20.3 7.7l-1.4-1.4z'/></svg>") center/14px no-repeat, linear-gradient(#000 0 0);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20.3 7.7l-1.4-1.4z'/></svg>") center/14px no-repeat, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.fq-a__body .majorFaqText {
    min-width: 0;
    font-size: calc(16px * var(--fq-scale));
    line-height: 1.55;
    color: var(--fq-ink-2);
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
    .fq-a,
    .fq-a__inner,
    .fq-q__disc,
    .fq-card__link,
    .fq-nav a,
    .fq-search__clear {
        transition: none;
    }
}

/* Phones */
@media (max-width: 640px) {
    .fq {
        padding: 36px 12px 56px;
    }

    .fq-head {
        margin-bottom: 24px;
    }

    .fq-head__lead {
        font-size: 16.5px;
    }

    .fq-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .fq-card + .fq-card {
        margin-top: 18px;
    }

    .fq-card__head {
        flex-wrap: wrap;
    }

    .fq-card__link {
        margin-left: 60px;
    }

    .fq-card__title {
        font-size: 21px;
    }

    .fq-search__input {
        height: 54px;
        font-size: 16.5px;
    }

    .fq-q__btn {
        padding: 15px 0;
        font-size: 16.5px;
        gap: 12px;
    }

    .fq-q__disc {
        width: 30px;
        height: 30px;
    }

    .fq-a__body {
        font-size: 16px;
        padding-bottom: 18px;
    }
}
