@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap");

:root {
  color-scheme: light;
  --paper: #fffafc;
  --blush: #fff0f5;
  --pink: #ff2d7a;
  --action: #bd1857;
  --ink: #2d2026;
  --muted: #78616b;
  --line: #ecd4de;
  --heading: 'Playfair Display', Georgia, serif;
  --body: 'Inter', Arial, sans-serif;
  --label: 'Montserrat', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; color: var(--ink);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 80% 20%, #ffe4ed99, transparent 52%),
    linear-gradient(145deg, #fffdfb, #fffafc 52%, #fff0f5);
}
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; gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; line-height: 0; }
.brand__img { display: block; width: 190px; height: auto; }
.help {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 9px 17px; border: 1px solid #d9a8ba; border-radius: 999px;
  color: var(--action); background: #fff9; text-decoration: none; font-size: 13px; font-weight: 600;
}
.help__icon { width: 19px; height: 19px; object-fit: contain; }
.help:hover { border-color: var(--action); background: #fff; }
.hero { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 54px 0 40px; text-align: center; flex: 1; }
.title { font: 600 clamp(38px, 5.2vw, 64px)/1.1 var(--heading); letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.hl { color: var(--action); font-style: italic; }
.lede { margin: 20px auto 0; color: var(--muted); font-size: 16px; max-width: 640px; }
.lede span { display: block; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 36px 0 0; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  padding: 30px; border: 1px solid var(--line); border-radius: 24px;
  text-align: left; text-decoration: none; background: #fff;
  box-shadow: 0 16px 42px -24px #77304d44;
}
.card--au { border-color: #e8a0bb; transition: transform .18s ease, border-color .18s ease; }
.card--au:hover { transform: translateY(-3px); border-color: var(--action); }
.card--nz { background: #fff6fa; }
.flag { display: flex; width: 66px; height: 66px; margin-bottom: 22px; }
.flag img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card h2 { margin: 0 0 12px; font: 600 30px/1.2 var(--heading); letter-spacing: -.025em; }
.card p { margin: 0 0 28px; color: var(--muted); font-size: 14px; 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: 999px;
  font: 700 13px/1.4 var(--label); text-align: center;
}
.cta--primary { color: #fff; background: var(--action); box-shadow: 0 8px 24px #bd18571a; }
.card--au:hover .cta--primary { background: #a51149; }
.cta__arrow { font: 400 24px/1 var(--body); }
.cta--ghost { color: var(--muted); border-color: #e1bccb; background: #fbeaf1; }
.cta__lock { width: 12px; height: 14px; }
.trust { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 28px 0 0; color: var(--muted); font-size: 12px; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__icon { display: flex; width: 14px; height: 16px; color: var(--action); }
.trust__icon svg { width: 100%; height: 100%; }
.footer { width: min(1180px, calc(100% - 64px)); margin: auto auto 0; border-top: 1px solid var(--line); color: var(--muted); }
.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: var(--action); text-decoration: underline; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: #2d202699; backdrop-filter: blur(8px); }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100svh - 48px); overflow-y: auto; border: 1px solid var(--line); border-radius: 24px; padding: 36px; background: var(--paper); box-shadow: 0 28px 100px #2d202644; }
.modal__panel h3 { font: 600 27px/1.3 var(--heading); margin: 0 34px 22px 0; }
.modal__panel p { color: var(--muted); 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: 50%; color: var(--action); background: #fbe5ed; font-size: 26px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--action); outline-offset: 5px; }

/* Only the new homepage loader; existing PQ screens retain their own styles. */
body.entry-country-loader .pq-page { background: transparent; }
body.entry-country-loader .pq-button { background: var(--action); }
body.entry-country-loader .pq-loading > p { margin: 20px auto; }
body.entry-country-loader .pq-spinner { border-top-color: var(--action); }

@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; }
  .help__icon { display: none; }
  .hero { width: calc(100% - 40px); padding: 34px 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: 26px; }
  .card { padding: 24px; border-radius: 20px; }
  .flag { width: 52px; height: 52px; margin-bottom: 18px; }
  .card h2 { font-size: 27px; margin-bottom: 10px; }
  .card p { margin-bottom: 22px; font-size: 13px; }
  .cta { font-size: 12px; 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; } }
