@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-case-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.tax-timeline { position: relative; display: grid; grid-template-columns: repeat(var(--tax-steps, 4), minmax(0, 1fr)); margin-top: 48px; }
.tax-timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.18); }
.tax-timeline li { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 36px 24px 0 0; }
.tax-timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border: 3px solid var(--tax-gold); border-radius: 50%; background: var(--tax-navy); }
.tax-timeline__when { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--tax-gold); }
.tax-timeline__what { font-family: "Newsreader", Georgia, serif; font-size: 24px; line-height: 1.2; color: #fff; }
.tax-timeline p { font-size: 15px; color: rgba(255,255,255,.78); }
.tax-stats { display: grid; grid-template-columns: repeat(var(--tax-stats, 3), minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.tax-stat { display: flex; flex-direction: column; gap: 6px; padding: 32px 24px 32px 0; }
.tax-stat + .tax-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.tax-stat__num { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--tax-gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tax-stat__label { font-size: 15px; color: rgba(255,255,255,.85); }
.tax-fineprint { max-width: 90ch; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.6); }
.tax-case-cta { margin-top: 28px; }

/* Light band variants (not the brief default, but keeps text readable if the background is switched). */
.tax-bg--white .tax-timeline__what, .tax-bg--lav .tax-timeline__what { color: var(--tax-navy); }
.tax-bg--white .tax-timeline p, .tax-bg--lav .tax-timeline p,
.tax-bg--white .tax-stat__label, .tax-bg--lav .tax-stat__label,
.tax-bg--white .tax-fineprint, .tax-bg--lav .tax-fineprint { color: var(--tax-muted); }
.tax-bg--white .tax-timeline li::before, .tax-bg--lav .tax-timeline li::before { background: #fff; }

@media (max-width: 900px) {
  .tax-case-head { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tax-timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tax-timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .tax-timeline li { padding: 0 0 0 40px; }
  .tax-stats { grid-template-columns: minmax(0, 1fr); }
  .tax-stat, .tax-stat + .tax-stat { padding: 24px 0; border-left: 0; }
  .tax-stat + .tax-stat { border-top: 1px solid rgba(255,255,255,.18); }
}

