:root {
  /* Airwallex product UI tokens */
  --brand: #612fff;
  --brand-soft: #aba8ff;
  --brand-deep: #4b24d6;
  --ink: #14171a;
  --ink-secondary: #6a727b;
  --ink-muted: #868c95;
  --ink-inverse: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --bg-tint: #f3f0ff;
  --line: #e6e8eb;
  --success: #0f8a5f;
  --radius: 12px;
  --shadow: none;
  --font: "AxLLCircular", "Circular XX", "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1120px;
}

@font-face {
  font-family: "AxLLCircular";
  src: url("../fonts/CircularXXWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AxLLCircular";
  src: url("../fonts/CircularXXWeb-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AxLLCircular";
  src: url("../fonts/CircularXXWeb-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo,
.btn,
.eyebrow,
.stat strong {
  color: var(--ink);
  font-weight: 700;
}

.lead,
.muted,
.card p,
.pillar-card p,
.benefit-card p,
.offer-list span,
.nav-links a,
.footer-note,
.site-footer p,
label {
  color: var(--ink-secondary);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-soft);
}

img {
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.logo:hover {
  color: var(--ink);
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 0.65rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--ink-secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.nav-links a.btn,
.nav-links a.btn:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  background: var(--brand);
  color: #ffffff !important;
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--brand-deep);
  color: #ffffff !important;
}

.btn-secondary {
  background: var(--bg-tint);
  color: var(--brand-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(97, 47, 255, 0.18), transparent 60%),
    radial-gradient(700px 360px at 0% 20%, rgba(171, 168, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #faf9ff 0%, #ffffff 70%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero h1,
.page-hero h1,
section h2 {
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 14ch;
}

.lead {
  color: var(--ink-muted);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.stat {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 0.9rem;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand);
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.section {
  padding: 3.25rem 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
  max-width: 46ch;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--brand-soft);
  transform: translateY(-2px);
}

.card .label {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card h3 {
  margin: 0.45rem 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 2.75rem 0 1.5rem;
  background: linear-gradient(180deg, var(--bg-tint), #fff 80%);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  margin-bottom: 0;
}

.content {
  padding: 2rem 0 3rem;
}

.prose {
  max-width: 72ch;
}

.prose p {
  color: var(--ink);
  margin: 0 0 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.feature-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.converter {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  max-width: 720px;
}

.field-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .field-row {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
  }
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus {
  outline: 2px solid rgba(97, 47, 255, 0.25);
  border-color: var(--brand);
}

.result-box {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--bg-tint);
  border: 1px solid #ddd6ff;
}

.result-box strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
}

.muted {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.disclaimer {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #c9ced6;
  padding: 0;
  margin-top: auto;
}

.site-footer a {
  color: #fff;
}

.footer-intro {
  padding: 2.75rem 0 0.5rem;
  max-width: 52rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.footer-intro p {
  color: #c9ced6;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-mega {
  display: grid;
  gap: 1.5rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.75rem 0 2.5rem;
}

@media (min-width: 700px) {
  .footer-mega {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .footer-mega {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  color: #c9ced6;
  margin: 0.4rem 0;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #fff;
}

.site-footer .footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2.25rem;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer p {
  color: #c9ced6;
  margin: 0.4rem 0;
  font-size: 0.92rem;
  opacity: 0.92;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.footer-note {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #2a3038;
  font-size: 0.82rem;
  color: #8b93a0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.swap-btn {
  align-self: end;
  height: 46px;
  min-width: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.error {
  color: #b42318;
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: 320px;
}

.hero-photo {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
}

.hero-art {
  position: absolute;
  left: 0;
  bottom: -8%;
  width: min(70%, 280px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.5rem;
}

.pillar-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pillar-card:hover {
  border-color: var(--brand-soft);
  transform: translateY(-2px);
  color: inherit;
}

.pillar-icon {
  width: 32px;
  height: 32px;
}

.pillar-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pillar-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  flex: 1;
}

.pillar-image {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 10px;
  background: var(--bg-soft);
}

.offer-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .offer-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .offer-split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .offer-split.reverse > :first-child {
    order: 2;
  }
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.offer-list a {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
}

.offer-list a:hover {
  border-color: var(--brand-soft);
  color: inherit;
}

.offer-list strong {
  color: var(--brand-deep);
}

.offer-list span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.offer-figure {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}

.offer-figure img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.benefit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
}

.benefit-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.benefit-card p {
  margin: 0;
  color: var(--ink-muted);
}

.network-band {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(97, 47, 255, 0.14), transparent 60%),
    var(--bg-tint);
}

.network-stats {
  margin-top: 1.5rem;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.page-hero-media {
  margin: 0 0 1.5rem;
  padding: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.page-hero-media img {
  width: 100%;
  display: block;
  max-height: 360px;
  object-fit: contain;
}

.btn-secondary,
a.btn-secondary,
a.btn-secondary:visited {
  background: var(--bg-tint);
  color: var(--brand-deep) !important;
}

.btn-secondary:hover,
a.btn-secondary:hover {
  color: var(--brand-deep) !important;
}

@media (max-width: 720px) {
  .hero-art {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .logo-sub {
    display: none;
  }

  .nav-links .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
  }
}
