@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --navy: #061327;
  --surface: #0b2140;
  --blue: #1677ff;
  --ice: #afd2f5;
  --text: #fff;
  --muted: #b7c7db;
  --border: #294467;
  --heading: 'Sora', sans-serif;
  --body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--navy); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; color: var(--text);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 85% 24%, rgba(22,119,255,.18), transparent 48%),
    linear-gradient(126deg, #061327 0%, #0b2140 58%, #092c59 100%);
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.page { min-height: 100svh; display: flex; flex-direction: column; }
.topbar {
  width: min(1180px, calc(100% - 64px)); margin: 0 auto;
  min-height: 104px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12); gap: 24px;
}
.brand { display: inline-flex; line-height: 0; }
.brand__img { display: block; width: 208px; height: auto; }
.help {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 9px 17px; border: 1px solid #526983; border-radius: 999px;
  color: #e5efff; text-decoration: none; font-size: 13px; font-weight: 600;
}
.help__icon { width: 19px; height: 19px; object-fit: contain; filter: grayscale(1) brightness(3); }
.help:hover { border-color: var(--ice); background: rgba(255,255,255,.05); }
.hero { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 44px; text-align: center; flex: 1; }
.title { font: 700 clamp(38px, 5.2vw, 64px)/1.09 var(--heading); letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hl { color: var(--ice); }
.lede { margin: 22px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 640px; }
.lede span { display: block; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin: 38px 0 0; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: 20px;
  text-align: left; text-decoration: none; overflow: hidden;
  background: linear-gradient(145deg, #112e52, #0b203b);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}
.card--au { border-color: #468ad3; transition: transform .18s ease, border-color .18s ease; }
.card--au:hover { transform: translateY(-3px); border-color: #86bcff; }
.card--nz { background: linear-gradient(145deg, #0d2543, #0a1b31); }
.flag { display: flex; width: 66px; height: 66px; padding: 0; margin-bottom: 24px; }
.flag img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card h2 { margin: 0 0 12px; font: 600 28px/1.2 var(--heading); letter-spacing: -.025em; color: #fff; }
.card p { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 290px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; margin-top: auto; padding: 13px 12px;
  border: 1px solid transparent; border-radius: 10px;
  font: 600 14px/1.35 var(--heading); text-align: center;
}
.cta--primary { color: #fff; background: #0861da; box-shadow: 0 8px 28px rgba(22,119,255,.18); }
.card--au:hover .cta--primary { background: #0756c3; }
.cta__arrow { font: 400 24px/1 var(--body); }
.cta--ghost { color: #b7c7db; border-color: #385371; background: rgba(7,21,42,.35); }
.cta__lock { width: 12px; height: 14px; opacity: .8; }
.trust { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 30px 0 0; color: #aec2da; font-size: 12px; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__icon { display: flex; width: 14px; height: 16px; color: #81b1e1; }
.trust__icon svg { width: 100%; height: 100%; }
.footer { width: min(1180px, calc(100% - 64px)); margin: auto auto 0; border-top: 1px solid rgba(255,255,255,.12); color: #a0b5cd; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 80px; font-size: 12px; }
.footer nav a { text-decoration: none; text-underline-offset: 4px; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: rgba(2,8,18,.8); backdrop-filter: blur(8px); }
.modal__panel { position: relative; width: min(560px,100%); max-height: calc(100svh - 48px); overflow-y: auto; border: 1px solid #426283; border-radius: 20px; padding: 36px; background: #0b2140; box-shadow: 0 28px 100px #0006; }
.modal__panel h3 { font: 600 24px/1.3 var(--heading); margin: 0 34px 22px 0; color: #fff; }
.modal__panel p { color: #c0cee0; font-size: 14px; line-height: 1.7; }
.modal__close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; color: #fff; background: #183959; font-size: 26px; }
a:focus-visible, button:focus-visible { outline: 3px solid #afd2f5; outline-offset: 5px; }

/* The homepage loader uses this stylesheet without altering existing PQ pages. */
body.prime-country-loader .pq-page { background: transparent; color: #fff; --pq-muted: #b7c7db; --pq-ink: #fff; --pq-accent: #1677ff; }
body.prime-country-loader .pq-header { border-color: rgba(255,255,255,.14); }
body.prime-country-loader .pq-loading h1 { color: #fff; }
body.prime-country-loader .pq-loading > p { color: #b7c7db; margin: 20px auto; }
body.prime-country-loader .pq-button { background: #0861da; }
body.prime-country-loader .pq-spinner { border-color: #294467; border-top-color: #1677ff; }

@media (max-width: 620px) {
  .topbar { width: calc(100% - 40px); min-height: 82px; gap: 14px; }
  .brand__img { width: 146px; }
  .help { padding: 8px 12px; font-size: 11px; min-height: 40px; }
  .help__icon { display: none; }
  .hero { width: calc(100% - 40px); padding: 36px 0 30px; }
  .title { font-size: clamp(34px, 9vw, 44px); }
  .lede { margin-top: 18px; font-size: 14px; }
  .lede__desktop { display: none !important; }
  .cards { grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 28px; }
  .card { padding: 24px; border-radius: 16px; }
  .flag { width: 52px; height: 52px; margin-bottom: 18px; }
  .card h2 { font-size: 24px; margin-bottom: 10px; }
  .card p { margin-bottom: 22px; font-size: 13px; }
  .cta { font-size: 13px; min-height: 52px; }
  .trust { gap: 10px 18px; margin-top: 24px; font-size: 11px; }
  .footer { width: calc(100% - 40px); }
  .footer__inner { min-height: 72px; }
  .modal { padding: 18px; }
  .modal__panel { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
