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

:root {
  /* Zesto-BIG inspired: mango orange + royal bubble blue */
  --ink: #0a1428;
  --ink-soft: #14243c;
  --foam: #fff6e8;
  --mist: #ffd9a8;
  --big-blue: #2f6fe8;
  --big-blue-bright: #5b9bff;
  --big-blue-deep: #1a4fc4;
  --mango: #f07a1a;
  --mango-bright: #ffb347;
  --mango-deep: #d45e0c;
  /* Aliases keep existing class names working */
  --teal: var(--big-blue-deep);
  --teal-bright: var(--big-blue-bright);
  --amber: var(--mango-bright);
  --line: rgba(255, 246, 232, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --font-display: "Fredoka", "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-big: "Fredoka", "Arial Rounded MT Bold", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--foam);
  background:
    radial-gradient(1100px 640px at 8% -8%, rgba(240, 122, 26, 0.28), transparent 55%),
    radial-gradient(900px 560px at 92% 0%, rgba(47, 111, 232, 0.22), transparent 52%),
    linear-gradient(165deg, #070e1c 0%, var(--ink) 48%, #15284a 100%);
  background-attachment: fixed;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  gap: 1rem;
}

.brand {
  font-family: var(--font-big);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
  text-decoration: none;
}
.brand span { color: var(--big-blue-bright); }
.brand-big {
  font-family: var(--font-big);
  font-weight: 700;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #7eb0ff 0%, var(--big-blue) 48%, var(--big-blue-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.5px rgba(10, 30, 74, 0.35);
  filter: drop-shadow(0 1px 0 rgba(10, 30, 74, 0.45));
}
.brand-insure {
  font-family: var(--font-big);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--foam);
}

.nav-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  opacity: 0.9;
}
.nav-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--teal-bright); }

.page { padding: 0.5rem 0 3rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--mist);
  margin: 0 0 0.85rem;
}

.hero-home {
  min-height: min(86vh, 820px);
  display: grid;
  align-content: end;
  padding: 2.5rem 0 2.4rem;
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding-left: max(1rem, calc((100vw - 1120px) / 2));
  padding-right: max(1rem, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(105deg, rgba(10, 20, 40, 0.92) 16%, rgba(10, 20, 40, 0.55) 48%, rgba(240, 122, 26, 0.28) 100%),
    url("/assets/images/hero-desk.jpg") center/cover no-repeat;
}
.hero-home > * { position: relative; z-index: 1; }

.media-tile {
  overflow: hidden;
  padding: 0 !important;
}
.media-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.media-tile .media-body {
  padding: 1.05rem 1.1rem 1.15rem;
}
.media-tile.tall img { height: 220px; }

.tier-card {
  overflow: hidden;
  padding: 0 !important;
}
.tier-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #0a1820;
}
.tier-card .media-body { padding: 1.05rem 1.1rem 1.2rem; }

.advisor-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--amber));
}
.advisor-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-lockup .brand-lockup-big {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 220, 120, 0.22));
}
.brand-lockup .brand-lockup-insure {
  /* Same Fredoka treatment as .expat-brand .brand-insure — even, not squeezed */
  font-family: var(--font-big);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff6e8;
  text-shadow: 0 2px 0 rgba(10, 30, 74, 0.35), 0 0 12px rgba(126, 176, 255, 0.25);
  line-height: 1;
  padding-top: 0.15rem;
}
@media (max-width: 720px) {
  .brand-lockup .brand-lockup-big {
    height: 38px;
  }
  .brand-lockup .brand-lockup-insure {
    font-size: 1.15rem;
  }
}
.brand-lockup .brand-mark {
  font-size: 1.55rem;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.02em;
}

.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  max-width: 12ch;
}
.lede {
  max-width: 36rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(243, 247, 244, 0.86);
  margin: 0 0 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  margin: 0.35rem 0 0.65rem;
}
.muted { color: rgba(243, 247, 244, 0.72); }

.panel {
  background: rgba(11, 28, 36, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: rise 0.5s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel h2, .panel h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.panel p { margin: 0 0 0.85rem; line-height: 1.5; color: rgba(243,247,244,0.86); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  appearance: none; border: 0; border-radius: 999px;
  padding: 0.8rem 1.2rem; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--big-blue-bright), var(--big-blue-deep));
  color: #fff8ef;
}
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--foam); border: 1px solid var(--line); }
.btn-amber {
  background: linear-gradient(120deg, var(--mango-bright), var(--mango));
  color: #2a1205;
  font-weight: 700;
}
.btn-linkedin {
  background: #0a66c2;
  color: #fff;
  width: 100%;
  gap: 0.55rem;
}
.btn-linkedin:hover { background: #004182; }
.form-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.2rem 0;
  color: rgba(243, 247, 244, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.form-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #ffd0b5;
}

.interest-grid, .card-grid, .tier-grid, .mag-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}
.interest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid, .tier-grid, .mag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .interest-grid, .card-grid, .tier-grid, .mag-grid { grid-template-columns: 1fr; }
}

.interest, .tile {
  text-align: left;
  padding: 1.05rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--foam);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.interest:hover, .tile:hover, .interest.is-active {
  border-color: rgba(45,179,158,0.7);
  background: rgba(45,179,158,0.12);
  transform: translateY(-2px);
}
.interest strong, .tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.interest span, .tile span { font-size: 0.92rem; opacity: 0.8; line-height: 1.4; }

.tile ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  opacity: 0.85;
  font-size: 0.9rem;
}
.tile .tile-cta { margin-top: 0.9rem; display: inline-block; color: var(--teal-bright); font-weight: 600; }

.band {
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
}
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}

.offer-hero {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(240, 122, 26, 0.4);
  background: linear-gradient(135deg, rgba(240, 122, 26, 0.28), rgba(47, 111, 232, 0.18)), rgba(10, 20, 40, 0.9);
}
.offer-hero .tag {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(240, 122, 26, 0.85), rgba(212, 94, 12, 0.9));
  color: #fff6e8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.offer-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin: 0 0 0.45rem;
  letter-spacing: -0.04em;
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  margin-top: 0.9rem; font-size: 0.95rem;
}
.meta-row strong { color: var(--teal-bright); }

.advisor {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
}

.form {
  display: grid; gap: 0.85rem; max-width: 420px; margin-top: 1rem;
}
.form form { display: grid; gap: 0.85rem; margin: 0; }
.form label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
.form input {
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,0.25); color: var(--foam);
  padding: 0.75rem 0.9rem; font: inherit;
}

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: rgba(45,179,158,0.16); color: var(--teal-bright);
  font-size: 0.78rem; font-weight: 600;
}
.badge.live::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: #3dde8c; box-shadow: 0 0 0 4px rgba(61,222,140,0.18);
}

.kv {
  display: grid; grid-template-columns: 7.5rem 1fr;
  gap: 0.35rem 0.75rem; margin: 1rem 0 0; font-size: 0.95rem;
}
.kv dt { opacity: 0.65; }
.kv dd { margin: 0; font-weight: 600; }

.grid-2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem;
}
.agent-shell {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; margin-top: 1rem;
}
@media (max-width: 900px) {
  .grid-2, .agent-shell { grid-template-columns: 1fr; }
}

.next-best {
  margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px;
  background: rgba(232,165,75,0.12); border: 1px solid rgba(232,165,75,0.35);
}
.next-best .label {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #ffd89a; margin-bottom: 0.35rem;
}
.next-best strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.03em; }
.propensity { margin-top: 0.5rem; }
.propensity em { font-style: normal; color: var(--amber); font-weight: 700; }

.stage-controls { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0; }

.footer-bar {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(243,247,244,0.55);
}
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }

.consent-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(3, 10, 14, 0.72);
  display: grid; place-items: center; padding: 1rem;
}
.consent-modal { width: min(520px, 100%); }

.check {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin: 0 0 1rem; font-size: 0.95rem;
}
.check input { margin-top: 0.2rem; accent-color: var(--teal-bright); }

.hidden { display: none !important; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.75rem 0 0; }
.pill {
  font-size: 0.75rem; padding: 0.2rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--line); opacity: 0.85;
}
.pill.health { border-color: rgba(45,179,158,0.5); }
.pill.auto { border-color: rgba(232,165,75,0.5); }
.pill.home { border-color: rgba(120,170,255,0.5); }

/* —— BigINSURE Profile Viewer (custom Adobe-icon panel) —— */
.bpv-trigger {
  position: fixed;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1200;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(145deg, #eb1000 0%, #b80d00 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.bpv-trigger:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 12px 28px rgba(235, 16, 0, 0.35);
}
.bpv-trigger-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.bpv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(3, 10, 14, 0.45);
  backdrop-filter: blur(2px);
}
.bpv-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1210;
  width: min(400px, calc(100vw - 1rem));
  height: 100vh;
  overflow: auto;
  padding: 1.1rem 1.15rem 2rem;
  background: #000;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(0);
  animation: bpv-slide 0.28s var(--ease);
}
@keyframes bpv-slide {
  from { transform: translateX(-12px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}
.bpv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.bpv-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 247, 244, 0.55);
}
.bpv-head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.bpv-close {
  border: 0;
  background: transparent;
  color: var(--foam);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0.1rem 0.35rem;
}
.bpv-close:hover { opacity: 1; }
.bpv-meta {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  color: rgba(243, 247, 244, 0.55);
}
.bpv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}
.bpv-tab {
  border: 0;
  background: transparent;
  color: rgba(243, 247, 244, 0.65);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}
.bpv-tab.is-active {
  background: rgba(45, 179, 158, 0.16);
  color: var(--teal-bright);
}
.bpv-body { font-size: 0.9rem; }
.bpv-muted { color: rgba(243, 247, 244, 0.55); margin: 0.5rem 0; }
.bpv-error { color: #ffb4a8; margin: 0.5rem 0; }
.bpv-sub {
  margin: 1rem 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 247, 244, 0.5);
}
.bpv-dl { margin: 0; }
.bpv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bpv-row dt {
  opacity: 0.6;
  margin: 0;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-right: 0.15rem;
}
.bpv-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  justify-self: end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bpv-row dd.bpv-wrap {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.92;
  font-weight: 500;
  max-width: min(18rem, 58vw);
}
.bpv-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}
.bpv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.bpv-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.bpv-aud {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.bpv-aud-name {
  font-weight: 600;
  font-size: 0.88rem;
  word-break: break-word;
}
.bpv-aud-id {
  opacity: 0.45;
  font-size: 0.68rem;
}
.bpv-pill {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-bright);
}

/* —— Expat Cover Radar (GITEX lab) —— */
.expat-page { padding-bottom: 3.5rem; }

.expat-hero {
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: 2.2rem max(1rem, calc((100vw - 1120px) / 2)) 1.6rem;
  background:
    linear-gradient(115deg, rgba(10, 20, 40, 0.92) 8%, rgba(10, 20, 40, 0.55) 48%, rgba(240, 122, 26, 0.35) 100%),
    radial-gradient(820px 420px at 88% 18%, rgba(255, 179, 71, 0.45), transparent 58%),
    radial-gradient(700px 380px at 12% 85%, rgba(47, 111, 232, 0.28), transparent 55%),
    linear-gradient(135deg, #1a4fc4 0%, #f07a1a 100%);
  overflow: hidden;
}
.expat-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.35), transparent 65%);
  pointer-events: none;
  animation: expatGlow 6s ease-in-out infinite alternate;
}
@keyframes expatGlow {
  from { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 1; transform: translate3d(-4%, -3%, 0) scale(1.06); }
}
.expat-brand {
  font-family: var(--font-big);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin: 0 0 0.55rem;
  line-height: 0.95;
  max-width: 14ch;
}
.expat-brand .brand-big {
  font-size: 1.05em;
  -webkit-text-stroke: 1.5px #0a1e4a;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 0 rgba(10, 30, 74, 0.35));
}
.expat-brand .brand-insure {
  font-size: 0.72em;
  margin-left: 0.06em;
  color: #fff6e8;
  text-shadow: 0 2px 0 rgba(10, 30, 74, 0.25);
}
.expat-lede { max-width: 38rem; }
.expat-demo-note { font-size: 0.82rem; margin: 0; opacity: 0.65; }

.expat-stage { margin-top: 1.25rem; }
.expat-panel {
  background: rgba(11, 28, 36, 0.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.4rem 1.5rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: rise 0.55s var(--ease) both;
}
.expat-panel.is-hidden { display: none; }
.expat-panel-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0.2rem 0 0.45rem;
}

.expat-form { margin-top: 1rem; display: grid; gap: 1rem; }
.expat-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 720px) {
  .expat-form-grid { grid-template-columns: 1fr; }
}
.expat-form label,
.expat-toggles legend {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.expat-form input[type="text"],
.expat-form input[type="number"],
.expat-form input[type="date"],
.expat-form select {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--foam);
  padding: 0.75rem 0.9rem;
  font: inherit;
}
.expat-form select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%),
    linear-gradient(135deg, var(--mist) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.8rem;
}
.expat-income-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.95fr) 1.2fr;
  gap: 0.5rem;
}
@media (max-width: 520px) {
  .expat-income-row { grid-template-columns: 1fr; }
}
.expat-toggles {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.expat-check {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.expat-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--teal-bright); }

.expat-ai-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.expat-ai-log {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-height: 240px;
  overflow: auto;
}
.expat-ai-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 0.92rem;
  opacity: 0.55;
  transition: opacity 0.25s, border-color 0.25s, background 0.25s;
}
.expat-ai-item.is-running {
  opacity: 1;
  border-color: rgba(45, 179, 158, 0.45);
  background: rgba(45, 179, 158, 0.1);
}
.expat-ai-item.is-done { opacity: 0.88; }
.expat-ai-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
}
.expat-ai-item.is-running .expat-ai-dot {
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(45, 179, 158, 0.2);
  animation: expatPulse 1s ease-in-out infinite;
}
.expat-ai-item.is-done .expat-ai-dot { background: #3dde8c; }
@keyframes expatPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.expat-provider-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.expat-chip {
  display: grid;
  gap: 0.15rem;
  min-width: 9.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  opacity: 0.45;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.expat-chip.is-active {
  opacity: 1;
  border-color: rgba(45, 179, 158, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.expat-chip.is-done { opacity: 0.95; }
.expat-chip.is-winner.is-active,
.expat-chip.is-winner.is-done {
  border-color: rgba(232, 165, 75, 0.65);
  background: rgba(232, 165, 75, 0.12);
}
.expat-chip-name { font-size: 0.78rem; opacity: 0.8; }
.expat-chip-price {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.expat-winner-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.expat-price {
  font-family: var(--font-big);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.04em;
  color: var(--mango-bright);
  white-space: nowrap;
}
.expat-winner-name {
  font-family: var(--font-big) !important;
}
.expat-winner-name .brand-big {
  font-size: 1.05em;
}

.expat-reco {
  margin-top: 1rem;
  padding: 1.2rem 1.25rem 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(240, 122, 26, 0.55);
  background:
    linear-gradient(135deg, rgba(240, 122, 26, 0.28), rgba(47, 111, 232, 0.18)),
    rgba(10, 20, 40, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: rise 0.55s var(--ease) both;
}
.expat-reco-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff6e8;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--mango), var(--mango-deep));
  border: 1px solid rgba(255, 246, 232, 0.25);
}
.expat-reco-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr auto;
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 900px) {
  .expat-reco-grid { grid-template-columns: 1fr; }
}
.expat-save {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: rgba(243, 247, 244, 0.88);
}
.expat-save strong { color: var(--teal-bright); }
.expat-logo-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.expat-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}
.expat-reco .expat-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.expat-curr-pill {
  margin: 0.15rem 0 0 !important;
  font-size: 0.8rem !important;
}
.expat-reco-price {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  text-align: right;
}
@media (max-width: 900px) {
  .expat-reco-price { justify-items: start; text-align: left; }
}
.expat-reco-price .btn { margin-top: 0.45rem; }

.expat-compare-head {
  margin: 1.5rem 0 0.65rem;
}
.expat-compare-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  margin: 0.25rem 0 0;
}
.expat-compare {
  display: grid;
  gap: 0.75rem;
}

.expat-card {
  padding: 0.95rem 1.05rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  animation: rise 0.45s var(--ease) both;
}
.expat-card.is-included {
  border-color: rgba(61, 222, 140, 0.25);
}
.expat-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.expat-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.2rem;
}
.expat-card-price-col {
  text-align: right;
  min-width: 8rem;
}
.expat-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: rgba(243, 247, 244, 0.92);
}
.expat-delta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff8f8f;
}
.expat-delta.is-ok { color: #3dde8c; }
.expat-gap-count {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #ffb4a8;
}

.expat-fits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
}
@media (max-width: 720px) {
  .expat-fits { grid-template-columns: 1fr; }
}
.expat-fits li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(243, 247, 244, 0.88);
}
.expat-fits li em {
  font-style: normal;
  opacity: 0.65;
  font-size: 0.78em;
}
.expat-fits li.is-dim { opacity: 0.45; }
.expat-fits li.is-no strong { color: #ffb4a8; }
.expat-fits li.is-extra strong { color: #ffd89a; }
.expat-fit {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.1rem;
}
.expat-fit.is-yes {
  background: rgba(61, 222, 140, 0.18);
  color: #3dde8c;
}
.expat-fit.is-no {
  background: rgba(255, 100, 100, 0.16);
  color: #ff8f8f;
}
.expat-fit.is-extra {
  background: rgba(232, 165, 75, 0.18);
  color: #ffd89a;
}
