@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap);
/* Shared base for the Expat Tax components. Ported from
   1510/CGT Landing Page Brief & Assets/PropertyNXT_Expat_Tax_Page_Dev_Pack 2/styles.css. */
:where(.tax-section),
:where(.tax-section) * { box-sizing: border-box; margin: 0; padding: 0; }
.tax-section {
  --tax-navy: #001a49;
  --tax-ink: #1a2744;
  --tax-gold: #e6bf1c;
  --tax-lav: #f2f3ff;
  --tax-line: #dfdfdf;
  --tax-muted: #5c5c5c;
  --tax-gold-soft: #fbf3d1;
  position: relative;
  color: var(--tax-ink);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px; line-height: 1.55; text-align: left;
  -webkit-font-smoothing: antialiased;
  scroll-margin-top: 90px;
}
:where(.tax-section) a { color: inherit; }
:where(.tax-section) img { display: block; max-width: 100%; }
:where(.tax-section) ul, :where(.tax-section) ol { list-style: none; }
.tax-section h1, .tax-section h2, .tax-section h3 { font-family: "Newsreader", Georgia, "Times New Roman", serif; font-weight: 400; color: var(--tax-navy); text-wrap: balance; }
.tax-section h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.1; }
.tax-section h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; }
.tax-section h3 { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.2; }
.tax-section :focus-visible { outline: 3px solid var(--tax-gold); outline-offset: 3px; }

.tax-container { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.tax-band { padding-block: 72px; }
.tax-bg--white { background: #fff; }
.tax-bg--lav { background: var(--tax-lav); }
.tax-bg--navy { background: var(--tax-navy); color: #fff; }
.tax-bg--navy h2, .tax-bg--navy h3 { color: #fff; }

.tax-eyebrow { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--tax-gold); }
.tax-stack { display: flex; flex-direction: column; gap: 18px; }
.tax-stack > .tax-eyebrow { margin-bottom: 0; }
.tax-prose { max-width: 68ch; }
.tax-lead { font-size: 20px; color: var(--tax-muted); }
.tax-bg--navy .tax-lead { color: rgba(255,255,255,.78); }

.tax-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 50px; cursor: pointer;
  background: var(--tax-gold); color: var(--tax-navy);
  font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 700; line-height: 1.55; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tax-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,26,73,.18); }
.tax-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.tax-btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.tax-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tables (two ways + new builds). */
.tax-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 32px; }
.tax-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.tax-table th { padding: 14px 16px; background: var(--tax-navy); color: #fff; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.tax-table td { padding: 16px; border-bottom: 1px solid var(--tax-line); vertical-align: top; background: #fff; }
.tax-table td:first-child { font-weight: 700; color: var(--tax-navy); }

@media (max-width: 900px) {
  .tax-band { padding-block: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .tax-section * { transition: none !important; }
}

.tax-ways__heading { max-width: 22ch; }
.tax-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.tax-way { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px; background: var(--tax-lav); }
.tax-bg--lav .tax-way { background: #fff; }
.tax-way__num { font-family: "Newsreader", Georgia, serif; font-size: 56px; line-height: 1; color: var(--tax-gold); }
.tax-way__note { padding-top: 14px; border-top: 1px solid var(--tax-line); font-size: 15px; color: var(--tax-ink); }
.tax-way__note strong { color: var(--tax-navy); }
.tax-table .tax-num { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--tax-navy); }
.tax-means { display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--tax-line); background: #fff; color: var(--tax-ink); }
.tax-means svg { flex: none; width: 30px; height: 30px; margin-top: 2px; color: var(--tax-gold); }
.tax-means p { min-width: 0; }
@media (max-width: 900px) {
  .tax-ways { grid-template-columns: minmax(0, 1fr); }
}

