/*
 * Nova theme — the look of the theme (on top of style.css, which gives every section its structure).
 * Barlow, one accent colour (Customize → Theme settings → Style), light grey page, white cards,
 * colour bands for "How it works" and FAQ, and circle "curtains" between band and page.
 * Every colour comes from the theme settings (--sp-*).
 */
.nv-body { --nv-line: #ececf2; --nv-white: #ffffff; }
.nv-body h1, .nv-body h2, .nv-body h3, .nv-body h4, .nv-body h5 { letter-spacing: 0; font-weight: 700; }
.nv-body .sp-main { padding-bottom: 72px; }
.nv-body .container { --bs-gutter-x: 30px; }

/* ---------- Clicking a control never selects its text (double clicks too) and no blue tap flash on phones.
   The keyboard focus ring stays; a mouse click shows none. Text in answers, cards and fields stays selectable. ---------- */
.nv-body summary, .nv-body button, .nv-body .sp-btn, .nv-body .sp-nav-links a, .nv-body .sp-nav-toggle,
.nv-body .sp-tst-arrows, .nv-body .sp-tst-arrow, .nv-body .nv-dots, .nv-body .no-chip, .nv-body .nv-forgot {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.nv-body summary { cursor: pointer; }
.nv-body summary:focus:not(:focus-visible), .nv-body button:focus:not(:focus-visible), .nv-body a:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* ---------- Buttons and fields ---------- */
.nv-body .sp-btn { border-radius: var(--sp-btn-radius); font-weight: 600; }
.nv-body .sp-btn-primary { background: var(--sp-primary); box-shadow: none; }
/* Like Nova: the button gets lighter on hover */
.nv-body .sp-btn-primary:hover, .nv-body .sp-btn-primary:focus { background: color-mix(in srgb, var(--sp-primary) 88%, #fff); color: #fff; }
.nv-body .sp-btn-primary:active { background: var(--sp-primary-dark); }
.nv-body .sp-input { min-height: 40px; padding: 8px 16px; font-size: 14px; background: #fff; border: 1px solid #e3e3e7; border-radius: 8px; }
.nv-body .sp-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sp-primary) 18%, transparent); }
.nv-body .sp-label { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.nv-body .sp-field { margin-bottom: 12px; }

/* ---------- Header: logo left, plain links right, the open page in a soft pill ---------- */
.nv-body .nv-header { background: #fff; border-bottom: 1px solid var(--nv-line); box-shadow: none; }
.nv-body .nv-header .sp-header-inner { min-height: 64px; }
.nv-body .nv-header .sp-nav-links { background: none; border: 0; padding: 0; gap: 4px; }
.nv-body .nv-header .sp-nav-links a { padding: 6px 22px; border-radius: 8px; font-size: 16px; font-weight: 500; color: var(--sp-heading); }
.nv-body .nv-header .sp-nav-links a { transition: background-color .15s, color .15s; }
.nv-body .nv-header .sp-nav-links a:hover { background: var(--sp-page); color: var(--sp-heading); }
.nv-body .nv-header .sp-nav-links a.active { background: var(--sp-page); color: var(--sp-primary); box-shadow: none; }
.nv-body .sp-logo-text { color: var(--sp-primary); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.nv-body .nv-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: var(--sp-page); }
.nv-body .nv-hero::before {
    /* Two soft white discs behind the page, like light through a window */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 38%, rgba(255, 255, 255, .9) 0 330px, transparent 331px),
        radial-gradient(circle at 92% 85%, rgba(255, 255, 255, .75) 0 300px, transparent 301px);
    -webkit-mask-image: none;
    mask-image: none;
}
.nv-body .nv-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; border-radius: 50%; background: #fff; z-index: -1; }
.nv-body .nv-hero h1 { font-size: calc(48px * var(--sp-h-scale)); line-height: 1.2; font-weight: 700; margin: 0 0 20px; max-width: 460px; }
.nv-body .nv-hero.sp-hero-h--lg h1 { font-size: calc(56px * var(--sp-h-scale)); }
.nv-body .nv-hero.sp-hero-h--xl h1 { font-size: calc(64px * var(--sp-h-scale)); max-width: 560px; }
.nv-body .nv-hero.sp-hero-h--sm h1 { font-size: calc(40px * var(--sp-h-scale)); }
.nv-body .nv-hero .sp-hero-lead { font-size: 20px; line-height: 1.6; color: var(--sp-text); max-width: 440px; }
.nv-body .nv-hero--no-art h1, .nv-body .nv-hero--no-art .sp-hero-lead { max-width: 640px; }
.nv-hero-art { text-align: center; }
.nv-hero-art img { width: 100%; max-width: 640px; height: auto; }
.nv-hero--art-left .nv-hero-art { order: -1; }

/* Sign-in card under the text */
.nv-body .nv-login { max-width: 445px; margin: 40px 0 0; padding: 16px; background: #fff; border: 0; border-radius: var(--sp-radius); box-shadow: none; }
.nv-body .nv-login::before { display: none; }
.nv-body .nv-login .sp-btn { min-height: 40px; padding: 8px 16px; }
.nv-body .nv-login .sp-auth-footer { margin: 16px 0 4px; text-align: center; font-size: 16px; color: var(--sp-text); }
.nv-body .nv-login .sp-auth-footer a { margin-left: 4px; }
.nv-password { position: relative; }
.nv-password .sp-input { padding-right: 150px; }
.nv-forgot { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 15px; white-space: nowrap; }
.nv-body .nv-login.sp-login--dark .nv-forgot { color: #fff; }

/* ---------- Section headings ---------- */
.nv-body .sp-section-head { max-width: 760px; margin-bottom: 56px; }
.nv-body .sp-section-head h2 { font-size: calc(36px * var(--sp-h-scale)); line-height: 1.2; font-weight: 700; }
.nv-body .sp-section-head p { font-size: 20px; line-height: 1.6; color: var(--sp-text); margin-top: 10px; }

/* ---------- Features: white cards over a colour wave ---------- */
.nv-features { position: relative; isolation: isolate; background: #fff; }
.nv-features.sp-section { padding-bottom: 64px; }
.nv-features--wave { padding-bottom: 72px !important; }
.nv-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; z-index: -1; }
.nv-wave-back { fill: color-mix(in srgb, var(--sp-primary) 22%, #fff); }
.nv-wave-front { fill: var(--sp-band); }
.nv-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.nv-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-card { padding: 24px 20px 32px; text-align: center; background: #fff; border: 1px solid var(--nv-line); border-radius: var(--sp-radius); }
.nv-card-art { display: block; width: 205px; max-width: 100%; height: auto; margin: 0 auto 8px; }
.nv-card-icon { width: 96px; height: 96px; margin: 24px auto 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--sp-primary) 12%, #fff); color: var(--sp-primary); font-size: 40px; }
.nv-card h3 { font-size: 24px; line-height: 1.5; margin: 0 0 8px; }
.nv-card p { font-size: 16px; line-height: 1.5; color: var(--sp-text); margin: 0; }
.sp-band .nv-card { border-color: transparent; }

/* ---------- Colour band (How it works, FAQ) ---------- */
.nv-band { background: var(--sp-band); color: #fff; }
.nv-band .sp-section-head h2, .nv-band h3 { color: #fff; }
.nv-band .sp-section-head p, .nv-band p { color: #fff; }
.nv-band a:not(.sp-btn) { color: #fff; text-decoration: underline; }
.nv-steps-section.nv-band { padding: 48px 0 88px; }

.nv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; text-align: center; }
.nv-step { position: relative; }
.nv-step-icon { display: flex; align-items: flex-end; justify-content: center; height: 80px; font-size: 52px; color: #fff; }
.nv-steps-section:not(.nv-band) .nv-step-icon { color: var(--sp-primary); }
/* Two tones like a duotone icon: step 1 gets a dim copy behind, step 3 sits on a dim disc */
.nv-step:nth-child(4n + 1) .nv-step-icon i { text-shadow: -9px -9px 0 rgba(255, 255, 255, .38); }
.nv-steps-section:not(.nv-band) .nv-step:nth-child(4n + 1) .nv-step-icon i { text-shadow: -9px -9px 0 color-mix(in srgb, var(--sp-primary) 30%, transparent); }
.nv-step:nth-child(4n + 3) .nv-step-icon i { width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .35); font-size: 40px; }
.nv-step-num { display: block; margin: 44px 0 36px; font-size: 40px; line-height: 1.5; font-weight: 700; color: inherit; }
.nv-band .nv-step-num { color: #fff; }
.nv-steps-section:not(.nv-band) .nv-step-num { color: var(--sp-heading); }
/* The line from one number to the next */
.nv-step:not(:last-child)::after { content: ""; position: absolute; top: 168px; left: calc(50% + 46px); width: calc(100% - 92px + 30px); height: 2px; background: currentColor; opacity: .9; }
.nv-steps-section:not(.nv-band) .nv-step:not(:last-child)::after { background: var(--sp-primary); }
.nv-step h3 { font-size: 24px; line-height: 1.5; margin: 0 0 8px; }
.nv-step p { font-size: 16px; line-height: 1.5; margin: 0 auto; max-width: 240px; }

/* ---------- Circle curtains between band and page ---------- */
.nv-curtain { line-height: 0; }
/* Fixed height = circles of one size on every screen (80px like the original); wide screens show more columns */
.nv-curtain svg { display: block; width: 100%; height: 300px; }
@media (max-width: 991.98px) { .nv-curtain svg { height: 240px; } }
@media (max-width: 575.98px) { .nv-curtain svg { height: 180px; } }
.nv-curtain--down .nv-c-bg { fill: var(--sp-band); }
.nv-curtain--down .nv-c-solid { fill: var(--sp-page); }
.nv-curtain--down .nv-c-ghost { fill: #fff; fill-opacity: .18; }
.nv-curtain--down .nv-h-solid, .nv-curtain--down .nv-h-ghost { fill: var(--sp-band); }
.nv-curtain--up .nv-c-bg { fill: var(--sp-page); }
.nv-curtain--up .nv-c-solid { fill: var(--sp-band); }
.nv-curtain--up .nv-c-ghost { fill: color-mix(in srgb, var(--sp-band) 22%, #fff); }
.nv-curtain--up .nv-h-solid, .nv-curtain--up .nv-h-ghost { fill: #fff; }
.nv-curtain use { transform-box: fill-box; }

/* ---------- Reviews: two cards per view, thin arrows at the sides, golden stars ---------- */
.nv-tst.sp-section { background: var(--sp-page); padding-top: 72px; padding-bottom: 120px; }
.nv-tst-head { position: relative; }
.nv-stars { position: absolute; inset: -40px -260px; pointer-events: none; }
.nv-star { position: absolute; width: 34px; height: 34px; }
.nv-star--a { left: 0; top: 36px; width: 22px; }
.nv-star--b { left: 170px; top: 10px; width: 32px; }
.nv-star--c { left: 60px; top: 70px; width: 52px; }
.nv-star--d { right: 170px; top: 6px; width: 34px; }
.nv-star--e { right: 0; top: 34px; width: 22px; }
.nv-star--f { right: 70px; top: 70px; width: 52px; }
.nv-body .nv-tst .sp-testimonial { padding: 16px; border: 1px solid var(--nv-line); border-radius: var(--sp-radius); box-shadow: none; }
.nv-body .nv-tst .sp-testimonial::before { display: none; }
.nv-body .nv-tst .sp-testimonial blockquote { order: 2; }
.nv-body .nv-tst .sp-testimonial blockquote p { font-size: 16px; line-height: 1.5; color: var(--sp-text); }
.nv-body .nv-tst .sp-testimonial-author { order: 1; flex-direction: column; align-items: flex-start; gap: 16px; margin: 0 0 8px; padding: 0; border: 0; font-family: var(--sp-font); font-weight: 700; font-size: 16px; }
.nv-body .nv-tst .sp-testimonial-author img, .nv-body .nv-tst .sp-testimonial-author .sp-avatar { width: 48px; height: 48px; }
.nv-body .nv-tst .sp-tst-slider { position: relative; max-width: 900px; margin: 0 auto; }
.nv-body .nv-tst .sp-tst-track { grid-auto-columns: calc((100% - 30px) / 2); gap: 30px; align-items: start; }
.nv-body .nv-tst .sp-tst-arrows { position: absolute; left: -110px; right: -110px; top: 50%; transform: translateY(-50%); justify-content: space-between; margin: 0; pointer-events: none; }
.nv-body .nv-tst .sp-tst-arrow { pointer-events: auto; width: 40px; height: 60px; border: 0; background: none; color: color-mix(in srgb, var(--sp-primary) 75%, #fff); font-size: 34px; }
.nv-body .nv-tst .sp-tst-arrow:hover:not(:disabled) { background: none; color: var(--sp-primary); }

.nv-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.nv-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--sp-primary) 28%, #fff); cursor: pointer; }
.nv-dots button.is-active { background: var(--sp-primary); }
.nv-dots button:focus-visible { outline: 2px solid var(--sp-primary); outline-offset: 3px; }

/* ---------- FAQ on the band, question marks behind ---------- */
/* Question marks keep their size on wide screens (the pattern repeats sideways instead of growing) */
.nv-band--faq { padding: 72px 0 96px !important; background: url("../images/faq-pattern.svg") center 62% / 1440px auto repeat-x, var(--sp-band); }
@media (max-width: 991.98px) { .nv-band--faq { background-size: 900px auto, auto; } }
.nv-faq { max-width: 730px; margin: 0 auto; display: grid; gap: 16px; }
.nv-faq details { border: 1px solid rgba(255, 255, 255, .85); border-radius: 8px; padding: 0 16px; }
.nv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 24px; font-weight: 700; line-height: 1.3; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary i { flex-shrink: 0; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
/* The plus turns a half circle while it becomes a minus */
.nv-faq details[open] summary i, .nv-body .sp-faq details[open] summary i { transform: rotate(180deg); }
.nv-body .sp-faq summary i { transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
/* Open: the plus turns into a minus (FA "minus" glyph) */
.nv-faq details[open] summary i::before, .nv-body .sp-faq details[open] summary i::before { content: "\f068"; }
.nv-faq details p { margin: -6px 0 0; padding: 0 0 16px; font-size: 16px; line-height: 1.6; }
.nv-faq details:hover, .nv-body .sp-faq details:hover { border-color: #fff; }
.nv-faq details { transition: background-color .2s, border-color .2s; }
.nv-faq details[open] { background: rgba(255, 255, 255, .06); }
.nv-faq-section:not(.nv-band) details { border-color: var(--nv-line); background: #fff; }
.nv-faq-section:not(.nv-band) summary { color: var(--sp-heading); }
.nv-faq-section:not(.nv-band) summary i { color: var(--sp-primary); }

/* FAQ page (and any FAQ list on the page): outlined white boxes with a round plus, like the home page */
.nv-body .sp-faq { border-top: 0; display: grid; gap: 16px; max-width: 730px; }
.nv-body .sp-faq details { border: 1px solid var(--nv-line); border-radius: 8px; background: #fff; padding: 0 16px; }
.nv-body .sp-faq summary { min-height: 0; padding: 16px 0; font-size: 20px; font-weight: 700; }
.nv-body .sp-faq summary i { width: 24px; height: 24px; border: 1.5px solid var(--sp-primary); background: transparent; color: var(--sp-primary); font-size: 11px; }
.nv-body .sp-faq summary i::before { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.nv-body .sp-faq details[open] summary i { background: transparent; color: var(--sp-primary); transform: rotate(180deg); }
.nv-body .sp-faq details:hover { border-color: var(--sp-primary-line); }
.nv-body .sp-faq details p { padding: 0 0 18px; color: var(--sp-text); }

/* ---------- Inner pages: plain heading on the page, white cards ---------- */
.nv-body .sp-page-header { padding: 40px 0 8px; color: var(--sp-heading); background: none !important; }
.nv-body .sp-page-header::after { display: none; }
.nv-body .sp-page-header h1 { color: var(--sp-heading); font-size: 36px; }
.nv-body .sp-breadcrumb, .nv-body .sp-breadcrumb a { color: var(--sp-muted); }
.nv-body .sp-page-header ~ .sp-section, .nv-body .sp-page-header ~ section { padding-top: 24px; }
.nv-body .sp-auth { background: var(--sp-page); align-items: flex-start; padding-top: 32px; }
.nv-body .sp-auth-card, .nv-body .sp-card { border: 1px solid var(--nv-line); border-radius: var(--sp-radius); box-shadow: none; }
.nv-body .sp-auth-card { max-width: 730px; padding: 16px; }
.nv-body .filter-dropdown-btn, .nv-body .currency-dropdown-btn { background: var(--sp-primary) !important; border: 0 !important; color: #fff !important; border-radius: 8px !important; }
.nv-body .sp-services .table thead th, .nv-body table thead th { background: var(--sp-heading) !important; color: #fff !important; border: 0; }
.nv-body .sp-services .catOnly td { background: #fff; color: var(--sp-heading); font-weight: 700; }

/* Newsletter on the colour band: the button turns white so it stands out */
.nv-body .sp-subscribe-box:not(.sp-nl-light) .sp-btn-primary { background: #fff; color: var(--sp-primary); }
.nv-body .sp-subscribe-box:not(.sp-nl-light) .sp-btn-primary:hover { background: color-mix(in srgb, var(--sp-primary) 10%, #fff); color: var(--sp-primary-dark); }

/* ---------- Footer: thin bar (Nova) or columns (Customize → Footer → Layout) ---------- */
.nv-body .sp-footer { padding: 48px 0 24px; }
.nv-body .nv-footer--slim { padding: 22px 0; }
.nv-footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.nv-footer-copy { font-size: 16px; color: #fff; }
.nv-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 16px; }
.nv-body .nv-footer-links a { color: color-mix(in srgb, var(--sp-primary) 70%, #fff); }
.nv-body .nv-footer-links a:hover { color: #fff; }
.nv-body .nv-footer-links .nv-footer-social { font-size: 15px; }

/* ---------- Sign-up and password pages: header, plain card, footer ---------- */
.nv-auth-page .sp-main { padding-bottom: 72px; display: flex; flex-direction: column; }
.nv-body.nv-auth-page .sp-auth { flex: 1 0 auto; display: block; padding: 32px 15px 0; }
.nv-body.nv-auth-page .sp-auth-card { margin: 0 auto; }
/* Like Nova, the sign-up card has no title of its own (the screen-reader title stays) */
.nv-auth-page .sp-auth-card:has(form[action*="signup"]) > h2,
.nv-auth-page .sp-auth-card:has(form[action*="signup"]) > .sp-sub {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.nv-auth-page .sp-auth-card .sp-btn { min-height: 40px; }
.nv-auth-page .sp-auth-card .sp-auth-footer { font-size: 16px; color: var(--sp-text); }

/* ---------- Small screens ---------- */
@media (max-width: 1199.98px) {
    .nv-stars { inset: -30px -40px; }
    .nv-body .nv-tst .sp-tst-arrows { left: -60px; right: -60px; }
}
@media (max-width: 991.98px) {
    .nv-cards, .nv-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .nv-step::after { display: none; }
    .nv-step-num { margin: 24px 0 16px; }
    .nv-hero-art { order: 2; }
    .nv-hero-art img { max-width: 440px; }
    .nv-body .nv-hero h1, .nv-body .nv-hero .sp-hero-lead, .nv-body .nv-login { max-width: none; }
    .nv-body .nv-tst .sp-tst-arrows { position: static; transform: none; justify-content: center; margin-top: 16px; }
    .nv-wave { height: 220px; }
    .nv-stars { display: none; }
    .nv-body .nv-header .sp-nav-links a { padding: 12px; }
}
@media (max-width: 575.98px) {
    .nv-cards, .nv-cols-3, .nv-cols-2, .nv-steps { grid-template-columns: 1fr; }
    .nv-body .nv-hero h1 { font-size: calc(38px * var(--sp-h-scale)); }
    .nv-body .sp-section-head h2 { font-size: 30px; }
    .nv-body .sp-section-head p, .nv-body .nv-hero .sp-hero-lead { font-size: 18px; }
    .nv-faq summary { font-size: 19px; }
    .nv-body .nv-tst .sp-tst-track { grid-auto-columns: 88%; }
    .nv-password .sp-input { padding-right: 16px; }
    .nv-forgot { position: static; transform: none; display: inline-block; margin-top: 6px; }
}
